mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
We expect to skip the new test_mpz on Windows.
This commit is contained in:
parent
f4e3484692
commit
de14a30d1d
1 changed files with 5 additions and 1 deletions
|
@ -466,6 +466,9 @@ class _Set:
|
|||
data.sort()
|
||||
return data
|
||||
|
||||
# Map sys.platform to a string containing the basenames of tests
|
||||
# expected to be skipped on that platform.
|
||||
|
||||
_expectations = {
|
||||
'win32':
|
||||
"""
|
||||
|
@ -486,6 +489,7 @@ _expectations = {
|
|||
test_largefile
|
||||
test_linuxaudiodev
|
||||
test_mhlib
|
||||
test_mpz
|
||||
test_nis
|
||||
test_openpty
|
||||
test_poll
|
||||
|
@ -677,7 +681,7 @@ _expectations = {
|
|||
class _ExpectedSkips:
|
||||
def __init__(self):
|
||||
self.valid = 0
|
||||
if _expectations.has_key(sys.platform):
|
||||
if sys.platform in _expectations:
|
||||
s = _expectations[sys.platform]
|
||||
self.expected = _Set(s.split())
|
||||
self.valid = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue