Skip to content

Commit

Permalink
python 2.7 comp. - Mock() only for py3k
Browse files Browse the repository at this point in the history
  • Loading branch information
ckoepp committed Feb 15, 2015
1 parent 2e7c100 commit 8743c5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_ts.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def test_TS_search_tweets_iterable_callback(self):
import sys
if sys.version_info[0] < 3:
self.assertTrue(True) # Dummy test for py2 doesn't have Mock class
return

httpretty.register_uri(httpretty.GET, self.search_url,
responses=[
Expand Down

0 comments on commit 8743c5a

Please sign in to comment.