Skip to content

Commit e20c68c

Browse files
committed
Re-add implicit concat tests.
1 parent c8fa357 commit e20c68c

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

pep/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
_MISSING_INTERLEAVING = False # 🎉
2121
"""True if the cpython prototype doesn't interleave strings and interpolations."""
2222

23-
_MISSING_IMPLICIT_CONCAT = True
23+
_MISSING_IMPLICIT_CONCAT = False # 🎉
2424
"""True if the cpython prototype doesn't support implicit concatenatenation."""
2525

2626
_INCORRECT_INIT_ARGS = False # 🎉

pep/test.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -359,9 +359,6 @@ def test_template_constructor_interleaving_all_the_things():
359359
assert template.interpolations == (i1, i2, i3, i4)
360360

361361

362-
# TODO uncomment these when _MISSING_IMPLICIT_CONCAT is False
363-
364-
# Implicit concat syntax is not supported whatsoever in the current PEP 750
365362
# def test_implicit_concat_str_template():
366363
# template = "hello" t"world"
367364
# assert isinstance(template, Template)

0 commit comments

Comments
 (0)