File: test_fstring.py

package info (click to toggle)
python-jedi 0.19.1%2Bds1-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,680 kB
  • sloc: python: 28,783; makefile: 172; ansic: 13
file content (11 lines) | stat: -rw-r--r-- 230 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
from textwrap import dedent


def test_fstring_multiline(Script):
    code = dedent("""\
        '' f'''s{
           str.uppe
        '''
        """)
    c, = Script(code).complete(line=2, column=9)
    assert c.name == 'upper'