Skip to content

Commit 5b022fc

Browse files
Fix linter issue
1 parent 075c49f commit 5b022fc

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Lib/test/_test_atexit.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,9 @@ def __eq__(self, o):
152152
self.action(o)
153153
return self.eq_ret_val(o)
154154

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:
155+
for action in lambda o: atexit.unregister(self), \
156+
lambda o: atexit.unregister(o), lambda o: atexit._clear():
157+
for eq_ret_val in NotImplemented, True:
157158
with self.subTest(action=action, eq_ret_val=eq_ret_val):
158159
cnt = 0
159160
f1 = Func(action, eq_ret_val)

0 commit comments

Comments
 (0)