mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-43219: skip Solaris in the test as well (GH-27257)
This commit is contained in:
parent
7f1c330da3
commit
6564656495
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue