summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2020-11-29 01:10:19 +0100
committerGitHub <noreply@github.com>2020-11-29 01:10:19 +0100
commitf9772c99a88c052884c6d36551c5ee9d658cdc1f (patch)
tree9a81d41ef9d725fa6ce2cc21a3934835b97cb233
parent571703d2afacaf67671d6d823907c5bcacc3248b (diff)
downloadcherrypy-git-f9772c99a88c052884c6d36551c5ee9d658cdc1f.tar.gz
Update test_bus.py
-rw-r--r--cherrypy/test/test_bus.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/test/test_bus.py b/cherrypy/test/test_bus.py
index af6a0a61..330cbbef 100644
--- a/cherrypy/test/test_bus.py
+++ b/cherrypy/test/test_bus.py
@@ -271,7 +271,7 @@ def test_block(bus, log_tracker):
# If the last message mentions an indeterminable thread name then ignore it
len_expected = len(expected)
assert log_tracker.log_entries[:len_expected] == expected
- assert len(log_tracker.log_entries[len_expected:]) - len_expected in (0, 1), (
+ assert len(log_tracker.log_entries) - len_expected in (0, 1), (
'No more than one extra log line with the thread name expected'
)