mirror of
https://github.com/python/cpython.git
synced 2025-08-15 22:30:42 +00:00
Fix issue with nested test suites debug method and module setups. (unittest)
This commit is contained in:
parent
83d3576ab8
commit
33958b87f2
2 changed files with 4 additions and 2 deletions
|
@ -112,7 +112,7 @@ class TestSuite(BaseTestSuite):
|
|||
continue
|
||||
|
||||
if hasattr(test, '_wrapped_run'):
|
||||
test._wrapped_run(result)
|
||||
test._wrapped_run(result, debug)
|
||||
elif not debug:
|
||||
test(result)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue