summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-10-29 21:33:10 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-10-29 21:33:10 (GMT)
commit54ad0beae0ff5b4b400fceaa788115c0cff1243e (patch)
tree5da504c1752cb4ef8cbc2b0c334d116cddf3b00e /Lib/test
parent65c66ab2559256b5b3a1e2dd8ef9679121e3de64 (diff)
downloadcpython-54ad0beae0ff5b4b400fceaa788115c0cff1243e.zip
cpython-54ad0beae0ff5b4b400fceaa788115c0cff1243e.tar.gz
cpython-54ad0beae0ff5b4b400fceaa788115c0cff1243e.tar.bz2
set literals and unions are our friends
Diffstat (limited to 'Lib/test')
-rwxr-xr-xLib/test/regrtest.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index c487d29..2d9cac2 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -1440,11 +1440,10 @@ class _ExpectedSkips:
if sys.platform != "win32":
# test_sqlite is only reliable on Windows where the library
# is distributed with Python
- WIN_ONLY = ["test_unicode_file", "test_winreg",
+ WIN_ONLY = {"test_unicode_file", "test_winreg",
"test_winsound", "test_startfile",
- "test_sqlite"]
- for skip in WIN_ONLY:
- self.expected.add(skip)
+ "test_sqlite"}
+ self.expected |= WIN_ONLY
if sys.platform != 'sunos5':
self.expected.add('test_nis')