diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2019-11-08 14:04:32 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2019-11-08 14:04:32 +0300 |
commit | ed3298a3c68bb257b43425c92b07e224c7f46be3 (patch) | |
tree | 1f3297c2c2ed7be65bd5514441a106a941fc4902 | |
parent | cc825477824883a10766446eeb0dc0d3785a63ee (diff) | |
download | unit-ed3298a3c68bb257b43425c92b07e224c7f46be3.tar.gz unit-ed3298a3c68bb257b43425c92b07e224c7f46be3.tar.bz2 |
Tests: fixed operator in http.py.
-rw-r--r-- | test/unit/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/http.py b/test/unit/http.py index 82a6bd6a..1a68ca3b 100644 --- a/test/unit/http.py +++ b/test/unit/http.py @@ -63,7 +63,7 @@ class TestHTTP(TestUnit): if 'raw' not in kwargs: req = ' '.join([start_str, url, http]) + crlf - if body is not b'': + if body != b'': if isinstance(body, str): body = body.encode() |