Add some test for timestamp (#403)

This commit is contained in:
Inada Naoki 2020-02-06 22:11:04 +09:00 committed by GitHub
parent ff1f5f89d9
commit 9d79351e99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 40 additions and 35 deletions

View file

@ -22,10 +22,7 @@ def test_tuple():
def default(o):
if isinstance(o, tuple):
return {
"__type__": "tuple",
"value": list(o),
}
return {"__type__": "tuple", "value": list(o)}
raise TypeError("Unsupported type %s" % (type(o),))
def convert(o):