diff options
author | Christian Clauss <cclauss@me.com> | 2020-11-29 01:10:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-29 01:10:19 +0100 |
commit | f9772c99a88c052884c6d36551c5ee9d658cdc1f (patch) | |
tree | 9a81d41ef9d725fa6ce2cc21a3934835b97cb233 | |
parent | 571703d2afacaf67671d6d823907c5bcacc3248b (diff) | |
download | cherrypy-git-f9772c99a88c052884c6d36551c5ee9d658cdc1f.tar.gz |
Update test_bus.py
-rw-r--r-- | cherrypy/test/test_bus.py | 2 |
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' ) |