diff options
author | Barry Warsaw <barry@python.org> | 2002-07-30 23:27:12 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2002-07-30 23:27:12 (GMT) |
commit | 408b6d34de2b1a6ba690557def435adce9314184 (patch) | |
tree | 9d4e40110765646f7033a740641ef67750d17b91 /Lib/test/test_traceback.py | |
parent | 1bc894b1333ff0fd0d8b175f6748798e5fd08aed (diff) | |
download | cpython-408b6d34de2b1a6ba690557def435adce9314184.zip cpython-408b6d34de2b1a6ba690557def435adce9314184.tar.gz cpython-408b6d34de2b1a6ba690557def435adce9314184.tar.bz2 |
Complete the absolute import patch for the test suite. All relative
imports of test modules now import from the test package. Other
related oddities are also fixed (like DeprecationWarning filters that
weren't specifying the full import part, etc.). Also did a general
code cleanup to remove all "from test.test_support import *"'s. Other
from...import *'s weren't changed.
Diffstat (limited to 'Lib/test/test_traceback.py')
-rw-r--r-- | Lib/test/test_traceback.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_traceback.py b/Lib/test/test_traceback.py index 4422118..a0b3150 100644 --- a/Lib/test/test_traceback.py +++ b/Lib/test/test_traceback.py @@ -22,7 +22,7 @@ class TracebackCases(unittest.TestCase): def syntax_error_without_caret(self): # XXX why doesn't compile raise the same traceback? - import badsyntax_nocaret + import test.badsyntax_nocaret def test_caret(self): err = self.get_exception_format(self.syntax_error_with_caret, |