Skip to content

Commit 8dab3a4

Browse files
committed
Fix issue found on Python 3.14.alpha.1
1 parent 0374e3d commit 8dab3a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

didyoumean/didyoumean_sugg_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1909,7 +1909,7 @@ def test_old_print_syntax(self):
19091909

19101910
def test_old_print_chevron_syntax(self):
19111911
"""Trying old print chevron syntax (before Python 3)."""
1912-
before, mid1, mid2, after = ranges_between((3, 0), (3, 6), (3, 14, 0, 'beta'))
1912+
before, mid1, mid2, after = ranges_between((3, 0), (3, 6), (3, 14, 0, 'alpha', 1))
19131913
code = "with open('/dev/null', 'w') as f:\n\tprint >> f, 5"
19141914
sugg = '"print(<message>, file=<output_stream>)"'
19151915
good_code = "with open('/dev/null', 'w') as f:\n\tprint('5', file=f)"

0 commit comments

Comments
 (0)