diff options
author | Barry Warsaw <barry@python.org> | 2002-07-30 23:27:12 +0000 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2002-07-30 23:27:12 +0000 |
commit | 408b6d34de2b1a6ba690557def435adce9314184 (patch) | |
tree | 9d4e40110765646f7033a740641ef67750d17b91 /Lib/test/test_grammar.py | |
parent | 1bc894b1333ff0fd0d8b175f6748798e5fd08aed (diff) | |
download | cpython-git-408b6d34de2b1a6ba690557def435adce9314184.tar.gz |
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_grammar.py')
-rw-r--r-- | Lib/test/test_grammar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_grammar.py b/Lib/test/test_grammar.py index bb843fb624..c77e19e0f6 100644 --- a/Lib/test/test_grammar.py +++ b/Lib/test/test_grammar.py @@ -1,7 +1,7 @@ # Python test set -- part 1, grammar. # This just tests whether the parser accepts them all. -from test_support import * +from test.test_support import TestFailed, verify, check_syntax import sys print '1. Parser' |