Skip erroring/failing tests on Windows

This commit is contained in:
Padraic Fanning committed 2021-02-21 16:10:03 -05:00
1 parent e327039db5
commit 49513be025
1 file changed
+42
+42
View File
@@ -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):