diff --git a/test/test_rest_plugins.py b/test/test_rest_plugins.py index 8128674b..37133bdb 100644 --- a/test/test_rest_plugins.py +++ b/test/test_rest_plugins.py @@ -3279,7 +3279,7 @@ def test_notify_overflow_split(): # Our body is only broken up; not lost _body = chunk.get('body') - assert body[offset: len(_body) + offset] == _body + assert body[offset: len(_body) + offset].rstrip() == _body offset += len(_body) #