my.topcoder: get rid of kjson in favor of using builtin dict methods

This commit is contained in:
Dima Gerasimov 2024-08-10 23:42:32 +03:00
parent 069264ce52
commit 4e13779ed5
2 changed files with 65 additions and 45 deletions

View file

@ -115,3 +115,9 @@ def test_fromisoformat() -> None:
# assert isoparse('2017-07-18T18:59:38.21731Z') == datetime(
# 2017, 7, 18, 18, 59, 38, 217310, timezone.utc,
# )
if sys.version_info[:2] >= (3, 10):
from types import NoneType
else:
NoneType = type(None)