Update the compiler package to compile the with-statement.

Jeremy, please review!
This commit is contained in:
Guido van Rossum 2006-02-28 00:32:16 +00:00
parent 40d8459dbf
commit 7ad94f011e
3 changed files with 63 additions and 1 deletions

View file

@ -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: