Files
geMoldInsight/venv/lib/python3.11/site-packages/setuptools/tests/test_unicode_utils.py
T

11 lines
316 B
Python
Raw Normal View History

2026-02-12 23:22:11 +08:00
from setuptools import unicode_utils
def test_filesys_decode_fs_encoding_is_None(monkeypatch):
"""
Test filesys_decode does not raise TypeError when
getfilesystemencoding returns None.
"""
monkeypatch.setattr('sys.getfilesystemencoding', lambda: None)
unicode_utils.filesys_decode(b'test')