File size: 224 Bytes
9c6594c
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
from unittest import TestCase

import hjson as json

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