Commit d866f217 by markotibold

fix compat with python 2.5

parent 7f7be826
from django.test import TestCase from django.test import TestCase
from djangorestframework.compat import RequestFactory from djangorestframework.compat import RequestFactory
from pygments_api import views from pygments_api import views
import tempfile, shutil, json import tempfile, shutil
try:
import json
except ImportError:
import simplejson as json
class TestPygmentsExample(TestCase): class TestPygmentsExample(TestCase):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment