home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Maximum CD 2010 May
/
maximum-cd-2010-05.iso
/
DiscContents
/
boxee-0.9.20.10711.exe
/
system
/
python
/
local
/
simplejson
/
tests
/
test_default.py
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Python Source
|
2009-07-20
|
222 b
|
10 lines
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)))