Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/jsonpickle/compat.py: 92%
12 statements
« prev ^ index » next coverage.py v7.2.7, created at 2023-06-07 06:20 +0000
« prev ^ index » next coverage.py v7.2.7, created at 2023-06-07 06:20 +0000
1from __future__ import absolute_import, division, unicode_literals
3import queue # noqa
4import sys
5from collections.abc import Iterator as abc_iterator # noqa
7PY_MAJOR = sys.version_info[0]
9class_types = (type,)
10iterator_types = (type(iter('')),)
12string_types = (str,)
13numeric_types = (int, float)
14ustr = str
17def iterator(class_):
18 # TODO: Replace all instances of this
19 return class_