8000 bpo-43219: skip Solaris in the test as well (GH-27257) · python/cpython@6564656 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6564656

Browse files
authored
bpo-43219: skip Solaris in the test as well (GH-27257)
1 parent 7f1c330 commit 6564656

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/test/test_shutil.py

Lines changed: 2 additions & 1 deletion
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)
0