- Revert a change that should have been blocked: py3k has no -3 flag!

- also remove a bogus debug print
This commit is contained in:
Amaury Forgeot d'Arc 2008-03-20 00:35:03 +00:00
parent 2b9b4e1229
commit 2f9d4d1e16
2 changed files with 8 additions and 27 deletions

View file

@ -1157,14 +1157,6 @@ class _ExpectedSkips:
if sys.platform != 'sunos5':
self.expected.add('test_nis')
# TODO: This is a hack to raise TestSkipped if -3 is not enabled.
# Instead of relying on callable to have a warning, we should expose
# the -3 flag to Python code somehow
with test_support.catch_warning() as w:
callable(int)
if w.message is None:
self.expected.add('test_py3kwarn')
self.valid = True
def isvalid(self):