diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-03-20 00:35:03 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-03-20 00:35:03 (GMT) |
commit | 2f9d4d1e1684dbaf352bea9eb62dbf7df2a42227 (patch) | |
tree | 337c6bb305612300f3e59564ca739858a230ab63 /Lib/test/regrtest.py | |
parent | 2b9b4e12291389440dd705420f717263a88c79d1 (diff) | |
download | cpython-2f9d4d1e1684dbaf352bea9eb62dbf7df2a42227.zip cpython-2f9d4d1e1684dbaf352bea9eb62dbf7df2a42227.tar.gz cpython-2f9d4d1e1684dbaf352bea9eb62dbf7df2a42227.tar.bz2 |
- Revert a change that should have been blocked: py3k has no -3 flag!
- also remove a bogus debug print
Diffstat (limited to 'Lib/test/regrtest.py')
-rwxr-xr-x | Lib/test/regrtest.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 100b26f..2212af5 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -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): |