Skip to content

Commit 0e6de53

Browse files
committed
[stream-refactor] fix testlib assertion format string
1 parent 6a106f0 commit 0e6de53

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/testlib.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,9 @@ def _teardown_check_threads(self):
331331

332332
for name in counts:
333333
assert counts[name] == 1, \
334-
'Found %d copies of thread %r running after tests.' % (name,)
334+
'Found %d copies of thread %r running after tests.' % (
335+
counts[name], name
336+
)
335337

336338
def _teardown_check_fds(self):
337339
mitogen.core.Latch._on_fork()

0 commit comments

Comments
 (0)