mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
test_request: simplejson is just as good as omnijson for test
This commit is contained in:
+4
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user