diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-04-08 07:44:07 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-04-08 07:44:07 (GMT) |
commit | 7e01e284cb4b936d2607c82ec8602f06eb0a1dbb (patch) | |
tree | d2940670690d7e5b554b99935d8d0e8e08ef7caa /Lib | |
parent | 6fd71206169c48daf9a45fe246b495bb8113fd10 (diff) | |
download | cpython-7e01e284cb4b936d2607c82ec8602f06eb0a1dbb.zip cpython-7e01e284cb4b936d2607c82ec8602f06eb0a1dbb.tar.gz cpython-7e01e284cb4b936d2607c82ec8602f06eb0a1dbb.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_traceback.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_traceback.py b/Lib/test/test_traceback.py index 3858aac..759cc98 100644 --- a/Lib/test/test_traceback.py +++ b/Lib/test/test_traceback.py @@ -16,7 +16,7 @@ class TracebackCases(unittest.TestCase): return traceback.format_exception_only(exc, value) else: raise ValueError, "call did not raise exception" - + def syntax_error_with_caret(self): compile("def fact(x):\n\treturn x!\n", "?", "exec") @@ -30,7 +30,7 @@ class TracebackCases(unittest.TestCase): self.assert_(len(err) == 4) self.assert_("^" in err[2]) # third line has caret self.assert_(err[1].strip() == "return x!") - + def test_nocaret(self): err = self.get_exception_format(self.syntax_error_without_caret, SyntaxError) |