]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #12400: test_cprofile now restores correctly the previous sys.stderr
authorVictor Stinner <victor.stinner@haypocalc.com>
Wed, 29 Jun 2011 22:00:45 +0000 (00:00 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Wed, 29 Jun 2011 22:00:45 +0000 (00:00 +0200)
commit7f86811d55a7a15cb4f29f9fad458aecaf2161d3
treebe3c1627314156d8d65bce83a30bbecf52ac5475
parent0aafa4f1e2facddf4aa2a5ac52ecd73fdf751580
Issue #12400: test_cprofile now restores correctly the previous sys.stderr

Copy sys.stderr before replacing it, instead of using sys.__stderr__
Lib/test/test_cprofile.py