summaryrefslogtreecommitdiff
path: root/Lib/test/test_grammar.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-07-30 23:27:12 +0000
committerBarry Warsaw <barry@python.org>2002-07-30 23:27:12 +0000
commit408b6d34de2b1a6ba690557def435adce9314184 (patch)
tree9d4e40110765646f7033a740641ef67750d17b91 /Lib/test/test_grammar.py
parent1bc894b1333ff0fd0d8b175f6748798e5fd08aed (diff)
downloadcpython-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.py2
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'