mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Test suite updated - encoding not detected when getting sources from native loader
This commit is contained in:
parent
fa5cf6fcdc
commit
264329079b
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user