Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit f221cea

Browse files
committed
Check variable appropriately.
1 parent 3467f73 commit f221cea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_http11.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def test_pycohttpparser_installs_correctly(self):
2626
# hide the import failure, so let's discover it here.
2727
# Alternatively, if we are *not* testing with nghttp2, this test should
2828
# confirm that it's not available.
29-
if os.environ.get('HYPER_FAST_PARSE'):
29+
if os.environ.get('HYPER_FAST_PARSE') == 'true':
3030
import pycohttpparser
3131
else:
3232
with pytest.raises(ImportError):

0 commit comments

Comments
 (0)