Skip to content

Commit

Permalink
Remove test_fstrings_allowed.
Browse files Browse the repository at this point in the history
This test was useful when Python 2.7 or 3.5 was supported, but they no longer are.
  • Loading branch information
jaraco committed Jul 13, 2024
1 parent 6b9549e commit c6a3017
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions tests/test_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,22 +93,6 @@ def test_index_url(self):
reqs = scripts.DepsReader(script).read()
assert reqs.index_url == 'https://my.private.index/'

def test_fstrings_allowed(self):
"""
It should be possible to read dependencies from a script
with f-strings on all Pythons.
"""
script = DALS(
"""
# coding: future_fstrings
__requires__ = ['foo']
f'boo'
f'coo'
"""
)
reqs = scripts.DepsReader(script).read()
assert reqs == ['foo']

def test_comment_style(self):
script = textwrap.dedent(
"""
Expand Down

0 comments on commit c6a3017

Please sign in to comment.