mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 07:14:48 +08:00
More Script fixture conversions in test_evaluate
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
from jedi import Script
|
||||
|
||||
|
||||
def test_module_attributes():
|
||||
def test_module_attributes(Script):
|
||||
def_, = Script('__name__').completions()
|
||||
assert def_.name == '__name__'
|
||||
assert def_.line == None
|
||||
|
||||
Reference in New Issue
Block a user