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 075c49f commit 5b022fcCopy full SHA for 5b022fc
1 file changed
Lib/test/_test_atexit.py
@@ -152,8 +152,9 @@ def __eq__(self, o):
152
self.action(o)
153
return self.eq_ret_val(o)
154
155
- for action in lambda o: atexit.unregister(self), lambda o: atexit.unregister(o), lambda o: atexit._clear():
156
- for eq_ret_val in NotImplemented, True:
+ for action in lambda o: atexit.unregister(self), \
+ lambda o: atexit.unregister(o), lambda o: atexit._clear():
157
+ for eq_ret_val in NotImplemented, True:
158
with self.subTest(action=action, eq_ret_val=eq_ret_val):
159
cnt = 0
160
f1 = Func(action, eq_ret_val)
0 commit comments