]> granicus.if.org Git - python/commit
Fix test_compilepath() of test_compileall
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 18 Jan 2016 10:25:50 +0000 (11:25 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 18 Jan 2016 10:25:50 +0000 (11:25 +0100)
commitc437d0cb4e99bd58ff0150414b5d5f0b26605687
tree9138832b5d9c47e148686962c808c11bf76c77e6
parent4b5b06203e4dbe24579101e5d889080c43854453
Fix test_compilepath() of test_compileall

Issue #26101: Exclude Lib/test/ from sys.path in test_compilepath(). The
directory contains invalid Python files like Lib/test/badsyntax_pep3120.py,
whereas the test ensures that all files can be compiled.
Lib/test/test_compileall.py