• File: test_default.py
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python27/lib64/python2.7/site-packages/simplejson/tests/test_default.py
  • Date Modified: 03/11/2011 5:03 PM
  • File size: 222 bytes
  • MIME-type: text/x-script.python
  • Charset: utf-8
from unittest import TestCase

import simplejson as json

class TestDefault(TestCase):
    def test_default(self):
        self.assertEquals(
            json.dumps(type, default=repr),
            json.dumps(repr(type)))