diff options
author | Jakub KulĂk <Kulikjak@gmail.com> | 2021-07-20 18:16:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 18:16:23 (GMT) |
commit | 6564656495d456a1bcc1aaa06abfc696209f37b2 (patch) | |
tree | fb4b32dcf8f349bb987aa08e09d002354b9b0fda | |
parent | 7f1c330da31c54e028dceaf3610877914c2a4497 (diff) | |
download | cpython-6564656495d456a1bcc1aaa06abfc696209f37b2.zip cpython-6564656495d456a1bcc1aaa06abfc696209f37b2.tar.gz cpython-6564656495d456a1bcc1aaa06abfc696209f37b2.tar.bz2 |
bpo-43219: skip Solaris in the test as well (GH-27257)
-rw-r--r-- | Lib/test/test_shutil.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_shutil.py b/Lib/test/test_shutil.py index e257425..7bf60fd 100644 --- a/Lib/test/test_shutil.py +++ b/Lib/test/test_shutil.py @@ -37,6 +37,7 @@ TESTFN2 = TESTFN + "2" TESTFN_SRC = TESTFN + "_SRC" TESTFN_DST = TESTFN + "_DST" MACOS = sys.platform.startswith("darwin") +SOLARIS = sys.platform.startswith("sunos") AIX = sys.platform[:3] == 'aix' try: import grp @@ -1249,7 +1250,7 @@ class TestCopy(BaseTest, unittest.TestCase): # Make sure file is not corrupted. self.assertEqual(read_file(src_file), 'foo') - @unittest.skipIf(MACOS or _winapi, 'On MACOS and Windows the errors are not confusing (though different)') + @unittest.skipIf(MACOS or SOLARIS or _winapi, 'On MACOS, Solaris and Windows the errors are not confusing (though different)') def test_copyfile_nonexistent_dir(self): # Issue 43219 src_dir = self.mkdtemp() |