]> granicus.if.org Git - python/commit
[2.7] bpo-30283: Backport test_regrtest from master to 2.7 (#1513)
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 9 May 2017 11:57:20 +0000 (13:57 +0200)
committerGitHub <noreply@github.com>
Tue, 9 May 2017 11:57:20 +0000 (13:57 +0200)
commitd2aff607199a24182714404777c80c7f180a35af
tree1f04d57b6fe8dbc2d22113959e11749ed0176f65
parentc8a77d339478e9d67c966a0d0def7e69e372fb1c
[2.7] bpo-30283: Backport test_regrtest from master to 2.7 (#1513)

* bpo-30283: regrtest: add --testdir option

* bpo-30283: Backport _testcapi.raise_signal()

Function used by test_regrtest to simulate an interrupted unit test.

* bpo-30283: Backport test_regrtest from master
Lib/test/regrtest.py
Lib/test/test_regrtest.py [new file with mode: 0644]
Modules/_testcapimodule.c