From 25a6564b42c8e73843b63ca57357a3573ac48c9c Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 8 Sep 2014 00:30:40 +0200 Subject: [Lib] Update simplejson to v3.6.3 + one file wsgiserver + importing fixup --- pyload/lib/simplejson/tests/test_default.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 pyload/lib/simplejson/tests/test_default.py (limited to 'pyload/lib/simplejson/tests/test_default.py') diff --git a/pyload/lib/simplejson/tests/test_default.py b/pyload/lib/simplejson/tests/test_default.py new file mode 100644 index 000000000..d1eacb8c4 --- /dev/null +++ b/pyload/lib/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.assertEqual( + json.dumps(type, default=repr), + json.dumps(repr(type))) -- cgit v1.2.3