tests: Remove further trailing spaces when possible.

Most cases here have `print(..., some_str)` changed to
`print(..., repr(some_str))`.  This makes the empty string visible and
prevents bare trailing spaces.

Signed-off-by: Dan Halbert <halbert@halwitz.org>
This commit is contained in:
Dan Halbert
2026-04-15 11:14:51 -04:00
committed by Damien George
parent 93a734020e
commit 9d989e4d8b
12 changed files with 51 additions and 50 deletions
+2 -1
View File
@@ -172,7 +172,8 @@ print(f" Value: {t_nested_expr.interpolations[0].value}")
print("\n=== Interpolation attribute tests ===")
i_basic = Interpolation(42, "x")
print(f"Basic conversion: {i_basic.conversion}")
print(f"Basic format_spec: {i_basic.format_spec}")
# Put in quotes to make empty string visible.
print(f"Basic format_spec: '{i_basic.format_spec}'")
i_with_conv = Interpolation(42, "x", "s")
print(f"With conversion: {i_with_conv.conversion}")