aboutsummaryrefslogtreecommitdiff
path: root/Objects/exceptions.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-11-21 16:33:13 +0100
committerGitHub <noreply@github.com>2018-11-21 16:33:13 +0100
commitaac1f81eef971876ba5b1673db9ce6620311c469 (patch)
tree8cc2935e2226572bc81bb28a6722d978acedf7ef /Objects/exceptions.c
parent361e8683e7340c600b22f4a514b81448ccec66dc (diff)
downloadcpython3-aac1f81eef971876ba5b1673db9ce6620311c469.tar.gz
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/exceptions.c')
0 files changed, 0 insertions, 0 deletions