Commit de14a30d authored by Tim Peters's avatar Tim Peters

We expect to skip the new test_mpz on Windows.

parent f4e34846
...@@ -466,6 +466,9 @@ class _Set: ...@@ -466,6 +466,9 @@ class _Set:
data.sort() data.sort()
return data return data
# Map sys.platform to a string containing the basenames of tests
# expected to be skipped on that platform.
_expectations = { _expectations = {
'win32': 'win32':
""" """
...@@ -486,6 +489,7 @@ _expectations = { ...@@ -486,6 +489,7 @@ _expectations = {
test_largefile test_largefile
test_linuxaudiodev test_linuxaudiodev
test_mhlib test_mhlib
test_mpz
test_nis test_nis
test_openpty test_openpty
test_poll test_poll
...@@ -677,7 +681,7 @@ _expectations = { ...@@ -677,7 +681,7 @@ _expectations = {
class _ExpectedSkips: class _ExpectedSkips:
def __init__(self): def __init__(self):
self.valid = 0 self.valid = 0
if _expectations.has_key(sys.platform): if sys.platform in _expectations:
s = _expectations[sys.platform] s = _expectations[sys.platform]
self.expected = _Set(s.split()) self.expected = _Set(s.split())
self.valid = 1 self.valid = 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment