diff -r 9167751463d4 -r 809d3b5b3d31 test/unittest_utils.py --- a/test/unittest_utils.py Fri Apr 23 14:55:10 2010 +0200 +++ b/test/unittest_utils.py Fri Apr 23 12:19:54 2010 +0200 @@ -14,11 +14,7 @@ from cubicweb.utils import make_uid, UStringIO, SizeConstrainedList, RepeatList try: - try: - import json - except ImportError: - import simplejson as json - from cubicweb.utils import CubicWebJsonEncoder + from cubicweb.utils import CubicWebJsonEncoder, json except ImportError: json = None