diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-07-20 18:53:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 18:53:31 (GMT) |
commit | 574da4633b44b4048f74c93da496ed2a3ead99dd (patch) | |
tree | bb8081cd6aa8918d6cde94905e507328dad543ea | |
parent | 416f418a11655e97d2cf3a8bd29e0968954caee3 (diff) | |
download | cpython-574da4633b44b4048f74c93da496ed2a3ead99dd.zip cpython-574da4633b44b4048f74c93da496ed2a3ead99dd.tar.gz cpython-574da4633b44b4048f74c93da496ed2a3ead99dd.tar.bz2 |
[3.10] bpo-43219: skip Solaris in the test as well (GH-27257) (GH-27268)
(cherry picked from commit 6564656495d456a1bcc1aaa06abfc696209f37b2)
Co-authored-by: Jakub KulĂk <Kulikjak@gmail.com>
Automerge-Triggered-By: GH:gpshead
-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() |