We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fce9094 commit f79d4d7Copy full SHA for f79d4d7
tests/test_base.py
@@ -93,15 +93,17 @@ def cb():
93
else:
94
self.assertFalse('source_traceback' in context)
95
96
- for flag in (True, False):
+ del context
97
+
98
+ for debug in (True, False):
99
for meth_name, meth, stack_adj in (
100
('call_soon',
101
self.loop.call_soon, 0),
102
('call_later', # `-1` accounts for lambda
103
lambda *args: self.loop.call_later(0.01, *args), -1)
104
):
- with self.subTest(debug=flag, meth_name=meth_name):
- run_test(flag, meth, stack_adj)
105
+ with self.subTest(debug=debug, meth_name=meth_name):
106
+ run_test(debug, meth, stack_adj)
107
108
def test_now_update(self):
109
async def run():
0 commit comments