Skip to content

Commit 574da46

Browse files
[3.10] bpo-43219: skip Solaris in the test as well (GH-27257) (GH-27268)
(cherry picked from commit 6564656) Co-authored-by: Jakub Kulík <Kulikjak@gmail.com> Automerge-Triggered-By: GH:gpshead
1 parent 416f418 commit 574da46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: Lib/test/test_shutil.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
TESTFN_SRC = TESTFN + "_SRC"
3838
TESTFN_DST = TESTFN + "_DST"
3939
MACOS = sys.platform.startswith("darwin")
40+
SOLARIS = sys.platform.startswith("sunos")
4041
AIX = sys.platform[:3] == 'aix'
4142
try:
4243
import grp
@@ -1249,7 +1250,7 @@ def test_copyfile_same_file(self):
12491250
# Make sure file is not corrupted.
12501251
self.assertEqual(read_file(src_file), 'foo')
12511252

1252-
@unittest.skipIf(MACOS or _winapi, 'On MACOS and Windows the errors are not confusing (though different)')
1253+
@unittest.skipIf(MACOS or SOLARIS or _winapi, 'On MACOS, Solaris and Windows the errors are not confusing (though different)')
12531254
def test_copyfile_nonexistent_dir(self):
12541255
# Issue 43219
12551256
src_dir = self.mkdtemp()

0 commit comments

Comments
 (0)