Get rid of deprecations in tests

This commit is contained in:
Dave Halter committed 2020-03-21 02:15:57 +01:00
1 parent 4c964ae655
commit d6d9286242
10 files changed
+40 -27

No files matched your search

@@ -71,9 +71,7 @@ def test_nested_namespace_package(Script):
sys_path = [example_dir]
project = Project('.', sys_path=sys_path)
script = Script(project=project, source=code)
result = script.infer(line=1, column=45)
result = Script(code, project=project).infer(line=1, column=45)
assert len(result) == 1