Skip to content

Commit

Permalink
Update tests/test_black.py
Browse files Browse the repository at this point in the history
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
  • Loading branch information
JelleZijlstra and hauntsaninja committed Mar 10, 2024
1 parent 02c3c1c commit 2a65077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_black.py
Original file line number Diff line number Diff line change
Expand Up @@ -2895,7 +2895,7 @@ def test_assert_equivalent_fstring(self) -> None:
pytest.skip("relies on 3.12+ syntax")
# https://github.com/psf/black/issues/4268
self.check_ast_equivalence(
"""print(f"{"|".join(['a','b','c'])}")""",
"""print(f"{"|".join([a,b,c])}")""",
"""print(f"{" | ".join([a,b,c])}")""",
should_fail=True,
)
Expand Down

0 comments on commit 2a65077

Please sign in to comment.