Skip to content

Commit af0fc7e

Browse files
author
Erlend E. Aasland
committed
Address review: wrap test_dont_check_same_thread with threading_helper.reap_threads
1 parent ad345e0 commit af0fc7e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/sqlite3/test/dbapi.py

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
import unittest
2828

2929
from test.support.os_helper import TESTFN, unlink
30+
from test.support import threading_helper
3031

3132

3233
# Helper for tests using TESTFN
@@ -728,6 +729,7 @@ def run(cur, errors):
728729
if len(errors) > 0:
729730
self.fail("\n".join(errors))
730731

732+
@threading_helper.reap_threads
731733
def test_dont_check_same_thread(self):
732734
def run(con, err):
733735
try:

0 commit comments

Comments
 (0)