mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
Revert r63934 -- it was mixing two patches.
This commit is contained in:
parent
f954c4b9fb
commit
a26f8ca668
37 changed files with 1028 additions and 1188 deletions
|
@ -80,10 +80,10 @@ class ExceptionTests(unittest.TestCase):
|
|||
self.raise_catch(IndentationError, "IndentationError")
|
||||
|
||||
self.raise_catch(TabError, "TabError")
|
||||
try: compile("try:\n\t1/0\n \t1/0\nfinally:\n pass\n",
|
||||
'<string>', 'exec')
|
||||
except TabError: pass
|
||||
else: self.fail("TabError not raised")
|
||||
# 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")
|
||||
|
||||
self.raise_catch(SystemError, "SystemError")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue