Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2035103 commit 4bc6857Copy full SHA for 4bc6857
1 file changed
Lib/test/test_os.py
@@ -1282,7 +1282,7 @@ def test_set_get_priority(self):
1282
try:
1283
os.setpriority(os.PRIO_PROCESS, os.getpid(), base)
1284
except OSError as err:
1285
- if err.errno != EACCESS:
+ if err.errno != errno.EACCESS:
1286
raise
1287
1288
@@ -1376,7 +1376,8 @@ class TestSendfile(unittest.TestCase):
1376
1377
DATA = b"12345abcde" * 1024 * 1024 # 10 Mb
1378
SUPPORT_HEADERS_TRAILERS = not sys.platform.startswith("linux") and \
1379
- not sys.platform.startswith("solaris")
+ not sys.platform.startswith("solaris") and \
1380
+ not sys.platform.startswith("sunos")
1381
1382
@classmethod
1383
def setUpClass(cls):
0 commit comments