From ed3298a3c68bb257b43425c92b07e224c7f46be3 Mon Sep 17 00:00:00 2001 From: Andrey Zelenkov Date: Fri, 8 Nov 2019 14:04:32 +0300 Subject: Tests: fixed operator in http.py. --- test/unit/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/unit') 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() -- cgit