summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_exceptions.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-06-04 11:41:32 (GMT)
committerGeorg Brandl <georg@python.org>2008-06-04 11:41:32 (GMT)
commitf954c4b9fb8529cc13a2e24c58137c66ac836b28 (patch)
tree91575068c14eec261bc4e2c44da9c881eda4efe1 /Lib/test/test_exceptions.py
parente5d68aceb529934e75d505bbfaf867e02493a1bc (diff)
downloadcpython-f954c4b9fb8529cc13a2e24c58137c66ac836b28.zip
cpython-f954c4b9fb8529cc13a2e24c58137c66ac836b28.tar.gz
cpython-f954c4b9fb8529cc13a2e24c58137c66ac836b28.tar.bz2
Remove meaning of -ttt, but still accept -t option on cmdline for compatibility.
Diffstat (limited to 'Lib/test/test_exceptions.py')
-rw-r--r--Lib/test/test_exceptions.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py
index 619b7e3..41b9413 100644
--- a/Lib/test/test_exceptions.py
+++ b/Lib/test/test_exceptions.py
@@ -80,10 +80,10 @@ class ExceptionTests(unittest.TestCase):
self.raise_catch(IndentationError, "IndentationError")
self.raise_catch(TabError, "TabError")
- # can only be tested under -tt, and is the only test for -tt
- #try: compile("try:\n\t1/0\n \t1/0\nfinally:\n pass\n", '<string>', 'exec')
- #except TabError: pass
- #else: self.fail("TabError not raised")
+ try: compile("try:\n\t1/0\n \t1/0\nfinally:\n pass\n",
+ '<string>', 'exec')
+ except TabError: pass
+ else: self.fail("TabError not raised")
self.raise_catch(SystemError, "SystemError")