Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/zipp/compat/py310.py: 100%

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

3 statements  

1import sys 

2import io 

3 

4 

5def _text_encoding(encoding, stacklevel=2, /): # pragma: no cover 

6 return encoding 

7 

8 

9text_encoding = ( 

10 io.text_encoding # type: ignore[unused-ignore, attr-defined] 

11 if sys.version_info > (3, 10) 

12 else _text_encoding 

13)