mirror of https://github.com/python/cpython.git
[3.10] bpo-43219: skip Solaris in the test as well (GH-27257) (GH-27268)
(cherry picked from commit 6564656495
)
Co-authored-by: Jakub Kulík <Kulikjak@gmail.com>
Automerge-Triggered-By: GH:gpshead
This commit is contained in:
parent
416f418a11
commit
574da4633b
|
@ -37,6 +37,7 @@
|
||||||
TESTFN_SRC = TESTFN + "_SRC"
|
TESTFN_SRC = TESTFN + "_SRC"
|
||||||
TESTFN_DST = TESTFN + "_DST"
|
TESTFN_DST = TESTFN + "_DST"
|
||||||
MACOS = sys.platform.startswith("darwin")
|
MACOS = sys.platform.startswith("darwin")
|
||||||
|
SOLARIS = sys.platform.startswith("sunos")
|
||||||
AIX = sys.platform[:3] == 'aix'
|
AIX = sys.platform[:3] == 'aix'
|
||||||
try:
|
try:
|
||||||
import grp
|
import grp
|
||||||
|
@ -1249,7 +1250,7 @@ def test_copyfile_same_file(self):
|
||||||
# Make sure file is not corrupted.
|
# Make sure file is not corrupted.
|
||||||
self.assertEqual(read_file(src_file), 'foo')
|
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):
|
def test_copyfile_nonexistent_dir(self):
|
||||||
# Issue 43219
|
# Issue 43219
|
||||||
src_dir = self.mkdtemp()
|
src_dir = self.mkdtemp()
|
||||||
|
|
Loading…
Reference in New Issue