Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/pendulum/utils/_compat.py: 88%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

8 statements  

1from __future__ import annotations 

2 

3import sys 

4 

5from pendulum.utils import _zoneinfo as zoneinfo 

6 

7 

8PYPY = hasattr(sys, "pypy_version_info") 

9 

10if sys.version_info < (3, 9): 

11 import importlib_resources as resources 

12else: 

13 from importlib import resources 

14 

15__all__ = ["resources", "zoneinfo"]