diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-11-21 15:33:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-21 15:33:13 (GMT) |
commit | aac1f81eef971876ba5b1673db9ce6620311c469 (patch) | |
tree | 8cc2935e2226572bc81bb28a6722d978acedf7ef /Objects/tupleobject.c | |
parent | 361e8683e7340c600b22f4a514b81448ccec66dc (diff) | |
download | cpython-aac1f81eef971876ba5b1673db9ce6620311c469.zip cpython-aac1f81eef971876ba5b1673db9ce6620311c469.tar.gz cpython-aac1f81eef971876ba5b1673db9ce6620311c469.tar.bz2 |
bpo-35189: Fix eintr_tester.py (GH-10637)
Call setitimer() before each test method, instead of once per test
case, to ensure that signals are sent in each test method.
Previously, only the first method of a testcase class got signals.
Changes:
* Replace setUpClass() with setUp() and replace tearDownClass() with
tearDown().
* tearDown() now ensures that at least one signal has been sent.
* Replace support.run_unittest() with unittest.main() which has
a nicer CLI and automatically discover test cases.
Diffstat (limited to 'Objects/tupleobject.c')
0 files changed, 0 insertions, 0 deletions