test_evaluate -> test_inference
This commit is contained in:
1 parent
a23bbbfbb9
commit
e4d1e5455f
62 files changed
+5
-5
No files matched your search
@@ -0,0 +1,19 @@
|
||||
import pytest
|
||||
from textwrap import dedent
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def skip_not_supported(environment):
|
||||
if environment.version_info < (3, 6):
|
||||
pytest.skip()
|
||||
|
||||
|
||||
def test_fstring_multiline(Script):
|
||||
code = dedent("""\
|
||||
'' f'''s{
|
||||
str.uppe
|
||||
'''
|
||||
"""
|
||||
)
|
||||
c, = Script(code, line=2, column=9).completions()
|
||||
assert c.name == 'upper'
|
||||
Reference in new issue
Block a user