Sign in
cobalt
/
cobalt
/
4fe09471d0134f1d49ad5034a1c8867d6f9f4551
/
.
/
src
/
third_party
/
mozjs
/
js
/
src
/
python
/
simplejson-2.1.1
/
simplejson
/
tests
/
test_default.py
blob: 139e42bf4acaa4927ec9be1ec55a252b97d3f1e2 [
file
] [
log
] [
blame
]
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
)))