From d44385c25e27abed7026957cf4f7d8124e9b05f0 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Fri, 26 Jan 2018 01:16:08 +0100 Subject: [PATCH] Fix the implicit namespace test --- test/test_evaluate/test_implicit_namespace_package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_evaluate/test_implicit_namespace_package.py b/test/test_evaluate/test_implicit_namespace_package.py index 8c17ce09..87bdadf7 100644 --- a/test/test_evaluate/test_implicit_namespace_package.py +++ b/test/test_evaluate/test_implicit_namespace_package.py @@ -62,4 +62,5 @@ def test_implicit_nested_namespace_package(Script, environment): assert len(result) == 1 implicit_pkg, = Script(code, column=10, sys_path=sys_path).goto_definitions() - assert implicit_pkg.type == 'namespace' + assert implicit_pkg.type == 'module' + assert implicit_pkg.module_path is None