mirror of
https://github.com/micropython/micropython.git
synced 2026-05-01 21:30:14 +02:00
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:
committed by
Damien George
parent
93a734020e
commit
9d989e4d8b
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user