diff --git a/tests/test_open.py b/tests/test_open.py index c761c62993b5fdaeffa00decb7972110f4f34d19..395fb1e3c0bb2bf533a03cd69ae00485742c44ea 100644 --- a/tests/test_open.py +++ b/tests/test_open.py @@ -1176,6 +1176,9 @@ class TestOpen(object): finally: connection.disconnect(True) + @pytest.mark.skipif(os.name == "nt", + reason="Sharing violation occurs when running with " + "Windows") def test_open_root_directory(self, smb_real): connection = Connection(uuid.uuid4(), smb_real[2], smb_real[3]) connection.connect(Dialects.SMB_3_1_1)