Mark failing tests in test_ntpath

This commit is contained in:
Jeong, YunWon committed 2024-04-24 00:54:12 +09:00
1 parent 566d9bee5c
commit 53b1b4d682
1 file changed
+4
+4
View File
@@ -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