]> granicus.if.org Git - python/commit
Issue #18401: Fix test_pdb on Windows
authorVictor Stinner <victor.stinner@gmail.com>
Sat, 10 Sep 2016 06:22:09 +0000 (23:22 -0700)
committerVictor Stinner <victor.stinner@gmail.com>
Sat, 10 Sep 2016 06:22:09 +0000 (23:22 -0700)
commitbc6262675c70e62ab2d578505e52a409a2c0849f
tree1a577cef57ce09bcf6b152456a2adb3cc0a124f4
parent54de2b1edd67ca88c470259d090c8c4cddcadd55
Issue #18401: Fix test_pdb on Windows

* Use "with Popen" to cleanup properly the process
* Use support.temp_cwd() to properly change the working directory
* Use environ.pop() to cleanup the code
Lib/test/test_pdb.py