Skip to content

Commit da9d374

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎stream/tests.py‎

Lines changed: 1 addition & 1 deletion
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)