Sign in
chromium
/
external
/
github.com
/
python
/
cpython
/
legacy-trunk
/
.
/
Lib
/
json
/
tests
/
test_default.py
blob: 49f05ad660c6074d6fc6efda69d4b45c8432baea [
file
] [
log
] [
blame
]
from
unittest
import
TestCase
import
json
class
TestDefault
(
TestCase
):
def
test_default
(
self
):
self
.
assertEquals
(
json
.
dumps
(
type
,
default
=
repr
),
json
.
dumps
(
repr
(
type
)))