Skip to content

Commit 420a638

Browse files
committed
add traceback
1 parent ba62b83 commit 420a638

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_threading.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import subprocess
2020
import signal
2121
import textwrap
22+
import traceback
2223

2324
from unittest import mock
2425
from test import lock_tests
@@ -1343,6 +1344,7 @@ def test_multithread_modify_file_noerror(self):
13431344
def modify_file():
13441345
with open(os_helper.TESTFN, 'w', encoding='utf-8') as fp:
13451346
fp.write(' ')
1347+
traceback.format_stack()
13461348
self.addCleanup(os_helper.unlink, os_helper.TESTFN)
13471349

13481350
threads = [

0 commit comments

Comments
 (0)