diff --git a/test_requests.py b/test_requests.py index f2aded24..c3f3395d 100755 --- a/test_requests.py +++ b/test_requests.py @@ -6,7 +6,10 @@ from __future__ import with_statement import unittest import cookielib -import omnijson as json +try: + import omnijson as json +except ImportError: + import simplejson as json import requests