diff options
author | hkm <hkm@mail.ru> | 2019-12-15 20:50:27 +0300 |
---|---|---|
committer | hkm <hkm@mail.ru> | 2019-12-15 20:50:27 +0300 |
commit | 264329079b6b65da90adfec15baff841a01727cf (patch) | |
tree | 8effd27dae2bdf3d5d8feebfdbb8852dac8bd4a2 /tests/test_pycode.py | |
parent | fa5cf6fcdc7b51693d5d15db792197401577c108 (diff) | |
download | sphinx-git-264329079b6b65da90adfec15baff841a01727cf.tar.gz |
Test suite updated - encoding not detected when getting sources from native loader
Diffstat (limited to 'tests/test_pycode.py')
-rw-r--r-- | tests/test_pycode.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_pycode.py b/tests/test_pycode.py index 5eccad0db..abe8ab58b 100644 --- a/tests/test_pycode.py +++ b/tests/test_pycode.py @@ -36,7 +36,8 @@ def test_ModuleAnalyzer_for_module(): assert analyzer.modname == 'sphinx' assert analyzer.srcname in (SPHINX_MODULE_PATH, os.path.abspath(SPHINX_MODULE_PATH)) - assert analyzer.encoding == 'utf-8' + # source should be loaded via native loader, so don`t know file enconding + assert analyzer.encoding == None def test_ModuleAnalyzer_for_file_in_egg(rootdir): |