mirror of
https://github.com/davidhalter/jedi.git
synced 2026-11-03 20:37:33 +08:00
stdlib fixture conversions
This commit is contained in:
1 parent
ac21fc376e
commit
5fc755b0cf
2 files changed
+10
-8
No files matched your search
@@ -5,10 +5,9 @@ import sys
|
||||
import pytest
|
||||
|
||||
from jedi.evaluate import sys_path
|
||||
from jedi import Script
|
||||
|
||||
|
||||
def test_paths_from_assignment():
|
||||
def test_paths_from_assignment(Script):
|
||||
def paths(src):
|
||||
script = Script(src, path='/foo/bar.py')
|
||||
expr_stmt = script._get_module_node().children[0]
|
||||
|
||||
Reference in new issue
Block a user