mirror of
https://github.com/kennethreitz/tablib.git
synced 2026-06-05 23:10:17 +00:00
10 lines
222 B
Python
10 lines
222 B
Python
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)))
|