Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
b8bc439b2093add9b313bcca2cc507a2d0e87764
/
.
/
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
)))