]> granicus.if.org Git - python/commit
Fix test_build_py when sys.dont_write_bytecode is true (#9831).
authorÉric Araujo <merwok@netwok.org>
Sat, 28 May 2011 21:32:50 +0000 (23:32 +0200)
committerÉric Araujo <merwok@netwok.org>
Sat, 28 May 2011 21:32:50 +0000 (23:32 +0200)
commit489c8ff26b673553f568266c732182346ee74acf
treef7f5469e4be08f2140727ea713f9b0402cd6357f
parentf33de715147371c39713a1421fc8bdb01676902f
Fix test_build_py when sys.dont_write_bytecode is true (#9831).

The tests now pass all combinations of -O/-OO and -B.  See also #7071
and #6292 for previous variations on the same theme.

test_versionpredicate needs a skip when sys.flags.optimize is true, but
I don’t know how to make that work with a DocTestSuite.
Lib/distutils/tests/test_build_py.py