From 49513be025008bf3335ac7a3cf2ee472db8e41cd Mon Sep 17 00:00:00 2001 From: Padraic Fanning Date: Sun, 21 Feb 2021 16:09:47 -0500 Subject: [PATCH] Skip erroring/failing tests on Windows --- Lib/test/test_genericpath.py | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/Lib/test/test_genericpath.py b/Lib/test/test_genericpath.py index fd2e88403..06234a2c2 100644 --- a/Lib/test/test_genericpath.py +++ b/Lib/test/test_genericpath.py @@ -311,6 +311,48 @@ class TestGenericTest(GenericTest, unittest.TestCase): # and is only meant to be inherited by others. pathmodule = genericpath + # TODO: RUSTPYTHON + if sys.platform == "win32": + @unittest.expectedFailure + def test_exists(self): + super().test_exists() + + # TODO: RUSTPYTHON + if sys.platform == "win32": + @unittest.expectedFailure + def test_isdir(self): + super().test_isdir() + + # TODO: RUSTPYTHON + if sys.platform == "win32": + @unittest.expectedFailure + def test_isfile(self): + super().test_isfile() + + # TODO: RUSTPYTHON + if sys.platform == "win32": + @unittest.expectedFailure + def test_samefile(self): + super().test_samefile() + + # TODO: RUSTPYTHON + if sys.platform == "win32": + @unittest.expectedFailure + def test_samefile_on_link(self): + super().test_samefile_on_link() + + # TODO: RUSTPYTHON + if sys.platform == "win32": + @unittest.expectedFailure + def test_samestat(self): + super().test_samestat() + + # TODO: RUSTPYTHON + if sys.platform == "win32": + @unittest.expectedFailure + def test_samestat_on_link(self): + super().test_samestat_on_link() + # TODO: RUSTPYTHON @unittest.expectedFailure def test_invalid_paths(self):