diff options
author | Christian Clauss <cclauss@me.com> | 2020-11-29 20:28:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-29 20:28:55 +0100 |
commit | aceb651c5c396dd4038ab03904dd09f82c23ae95 (patch) | |
tree | 2fde996608e7d13bb1e86d962418483a724274ab | |
parent | f9772c99a88c052884c6d36551c5ee9d658cdc1f (diff) | |
download | cherrypy-git-aceb651c5c396dd4038ab03904dd09f82c23ae95.tar.gz |
<= 1
-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 330cbbef..10b0c9c1 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 in (0, 1), ( + assert len(log_tracker.log_entries) - len_expected <= 1, ( 'No more than one extra log line with the thread name expected' ) |