World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[#3935] test: fix test_rm_file() in test_gvfs_with_local.py on MacOS (#3938)
noidname01c5f95058162a
diff --git a/clients/client-python/tests/unittests/test_gvfs_with_local.py b/clients/client-python/tests/unittests/test_gvfs_with_local.pyindex 73f1a2cea9..ab967eb6e7 100644--- a/clients/client-python/tests/unittests/test_gvfs_with_local.py+++ b/clients/client-python/tests/unittests/test_gvfs_with_local.py@@ -362,7 +362,7 @@ class TestLocalFilesystem(unittest.TestCase):# test delete dirdir_virtual_path = fileset_virtual_location + "/sub_dir"self.assertTrue(fs.exists(dir_virtual_path))- with self.assertRaises(IsADirectoryError):+ with self.assertRaises((IsADirectoryError, PermissionError)):fs.rm_file(dir_virtual_path)@patch(