]> granicus.if.org Git - python/commit
Fix failure of test_compiler.py when compiling test_contextlib.py.
authorGuido van Rossum <guido@python.org>
Thu, 2 Mar 2006 04:24:01 +0000 (04:24 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 2 Mar 2006 04:24:01 +0000 (04:24 +0000)
commit5bde08dba3a34de7f625420035f1d0876bc71f39
treebe63f21fd657d9011517d99810b39da0a7484897
parent3a5468efb08335bff7b2135753cb9a5a9ddce0ac
Fix failure of test_compiler.py when compiling test_contextlib.py.
The culprit was an expression-less yield -- the first apparently in
the standard library.  I added a unit test for this.
Also removed the hack to force compilation of test_with.py.
Lib/compiler/transformer.py
Lib/test/test_compiler.py