def test_cwd(): error_message = '{}.cwd() is unsupported on S3 service'.format( S3Path.__name__) with pytest.raises(NotImplementedError, message=error_message): S3Path.cwd()
def test_cwd(): with pytest.raises(NotImplementedError): S3Path.cwd()