commit | ed1325284e6507e66f104ce462ea73f0184c2e12 | [log] [tgz] |
---|---|---|
author | jcgregorio@wpgntai-ubiq72.hot.corp.google.com <jcgregorio@wpgntai-ubiq72.hot.corp.google.com> | Mon Apr 19 11:12:52 2010 -0700 |
committer | jcgregorio@wpgntai-ubiq72.hot.corp.google.com <jcgregorio@wpgntai-ubiq72.hot.corp.google.com> | Mon Apr 19 11:12:52 2010 -0700 |
tree | 8b6644b2cd39d62496d824842055ae235bbc1d0f |
initial
diff --git a/simplejson/tests/test_default.py b/simplejson/tests/test_default.py new file mode 100644 index 0000000..139e42b --- /dev/null +++ b/simplejson/tests/test_default.py
@@ -0,0 +1,9 @@ +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)))