From bdf9f90c8a3015ff7b7d03259ce57ec0ee98eb12 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Tue, 21 Jun 2011 17:59:24 -0400 Subject: [PATCH] omnijson for tests --- test_requests.py | 6 ++---- tox.ini | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/test_requests.py b/test_requests.py index b1fe22cd..8a6b0ae0 100755 --- a/test_requests.py +++ b/test_requests.py @@ -5,10 +5,8 @@ from __future__ import with_statement import unittest import cookielib -try: - import simplejson as json -except ImportError: - import json + +import omnijson as json import requests diff --git a/tox.ini b/tox.ini index 87e79ac4..3c2ef1f6 100644 --- a/tox.ini +++ b/tox.ini @@ -5,3 +5,4 @@ envlist = py25,py26,py27 commands=py.test --junitxml=junit-{envname}.xml deps = pytest + omnijson