summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_compiler.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2006-02-28 00:32:16 (GMT)
committerGuido van Rossum <guido@python.org>2006-02-28 00:32:16 (GMT)
commit7ad94f011ef03945c2d9475679f503f5677c4f6d (patch)
treec063d08e197436d551a78107ad9c5bd24fe339e4 /Lib/test/test_compiler.py
parent40d8459dbfbe2e2fbd2071a101edf0d47d668901 (diff)
downloadcpython-7ad94f011ef03945c2d9475679f503f5677c4f6d.zip
cpython-7ad94f011ef03945c2d9475679f503f5677c4f6d.tar.gz
cpython-7ad94f011ef03945c2d9475679f503f5677c4f6d.tar.bz2
Update the compiler package to compile the with-statement.
Jeremy, please review!
Diffstat (limited to 'Lib/test/test_compiler.py')
-rw-r--r--Lib/test/test_compiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_compiler.py b/Lib/test/test_compiler.py
index d2f062c..c328d71 100644
--- a/Lib/test/test_compiler.py
+++ b/Lib/test/test_compiler.py
@@ -20,7 +20,7 @@ class CompilerTest(unittest.TestCase):
for basename in os.listdir(dir):
if not basename.endswith(".py"):
continue
- if not TEST_ALL and random() < 0.98:
+ if not TEST_ALL and random() < 0.98 and basename != "test_with.py":
continue
path = os.path.join(dir, basename)
if test.test_support.verbose: