8000 Fix json import error · skyl/twilio-python@ec03a17 · GitHub
[go: up one dir, main page]

Skip to content

Commit ec03a17

Browse files
committed
Fix json import error
1 parent 8cfbc5b commit ec03a17

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_make_request.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
44
Uses the awesome httpbin.org to validate responses
55
"""
6-
import json
6+
try:
7+
import json
8+
except ImportError:
9+
import simplejson as json
710
import twilio
811
from nose.tools import assert_equals
912
from nose.tools import raises

0 commit comments

Comments
 (0)
0