]> granicus.if.org Git - python/commit
bpo-31657: Add test coverage for the __debug__ case (GH-3450)
authordiana <diana.joan.clarke@gmail.com>
Tue, 3 Oct 2017 16:46:56 +0000 (10:46 -0600)
committerMariatta <Mariatta@users.noreply.github.com>
Tue, 3 Oct 2017 16:46:56 +0000 (09:46 -0700)
commit543386b7f077d210ea0722079d68beb6c066730a
tree31d5bdeb02e8ac9c243d646832f3e0a3687b27f5
parent85c0b8941f0c8ef3ed787c9d504712c6ad3eb5d3
bpo-31657: Add test coverage for the __debug__ case (GH-3450)

Update the compile tests for optimization levels to also check that
__debug__ blocks are included or excluded based on the optimization
level.
Patch by Diana Clarke.
Lib/test/test_builtin.py