From 53b1b4d682f24d3c748c80e41523ea7ccfe0197e Mon Sep 17 00:00:00 2001 From: "Jeong, YunWon" Date: Wed, 24 Apr 2024 00:13:34 +0900 Subject: [PATCH] Mark failing tests in test_ntpath --- Lib/test/test_ntpath.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Lib/test/test_ntpath.py b/Lib/test/test_ntpath.py index fd753b93d..8e23b8867 100644 --- a/Lib/test/test_ntpath.py +++ b/Lib/test/test_ntpath.py @@ -981,6 +981,8 @@ class TestNtpath(NtpathTestCase): raise unittest.SkipTest('SystemDrive is not defined or malformed') self.assertFalse(os.path.isfile('\\\\.\\' + drive)) + # TODO: RUSTPYTHON + @unittest.expectedFailure @unittest.skipIf(sys.platform != 'win32', "windows only") def test_con_device(self): self.assertFalse(os.path.isfile(r"\\.\CON")) @@ -1003,6 +1005,8 @@ class TestNtpath(NtpathTestCase): self.assertTrue(os.path.exists is nt._path_exists) self.assertFalse(inspect.isfunction(os.path.exists)) + # TODO: RUSTPYTHON + @unittest.expectedFailure @unittest.skipIf(os.name != 'nt', "Dev Drives only exist on Win32") def test_isdevdrive(self): # Result may be True or False, but shouldn't raise