Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit da9d374

Browse files
committed
Bug fix for python 2.6.9 support
1 parent 9e3bce4 commit da9d374

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stream/tests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def api_request_parse_validator(test):
6969
def wrapper(meth):
7070
def _parse_response(*args, **kwargs):
7171
response = meth(*args, **kwargs)
72-
test.assertIn('duration', response)
72+
test.assertTrue('duration' in response)
7373
return response
7474
return _parse_response
7575
return wrapper

0 commit comments

Comments
 (0)