• File: test_default.py
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python37/lib64/python3.7/site-packages/simplejson/tests/test_default.py
  • Date Modified: 11/05/2017 6:28 PM
  • File size: 221 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.assertEqual(
            json.dumps(type, default=repr),
            json.dumps(repr(type)))