From f408829d516614c813a59621bfec9b09a6251da4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gul=C3=A1csi=20Tam=C3=A1s?= Date: Sat, 23 Jul 2011 22:15:28 +0200 Subject: [PATCH] test_request: simplejson is just as good as omnijson for test --- test_requests.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test_requests.py b/test_requests.py index f2aded2..c3f3395 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 -- 2.34.1