devtools/testlib.py
branchstable
changeset 5389 809d3b5b3d31
parent 5377 84d14ddfae13
child 5401 547911327475
--- a/devtools/testlib.py	Fri Apr 23 14:55:10 2010 +0200
+++ b/devtools/testlib.py	Fri Apr 23 12:19:54 2010 +0200
@@ -14,11 +14,6 @@
 from math import log
 from contextlib import contextmanager
 
-try:
-    import json
-except ImportError:
-    import simplejson as json
-
 import yams.schema
 
 from logilab.common.testlib import TestCase, InnerTest
@@ -35,7 +30,7 @@
 from cubicweb.web import Redirect, application
 from cubicweb.devtools import SYSTEM_ENTITIES, SYSTEM_RELATIONS, VIEW_VALIDATORS
 from cubicweb.devtools import fake, htmlparser
-
+from cubicweb.utils import json
 
 # low-level utilities ##########################################################