Directly load modules if possible, with this it's not necessary anymore to use dotted_from_fs_path, also fixes #1013.

This commit is contained in:
Dave Halter
2018-07-05 10:03:05 +02:00
parent a12d62e9c9
commit 508ed7e5b8
4 changed files with 10 additions and 53 deletions

View File

@@ -44,7 +44,7 @@ def test_versions(version):
def test_load_module(evaluator):
access_path = evaluator.compiled_subprocess.load_module(
name=u'math',
dotted_name=u'math',
sys_path=evaluator.get_sys_path()
)
name, access_handle = access_path.accesses[0]