We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a73a1e0 commit 362b902Copy full SHA for 362b902
tests/language/test_block_string.py
@@ -100,6 +100,10 @@ def do_not_take_empty_lines_into_account():
100
101
102
def describe_print_block_string():
103
+ def do_not_escape_characters():
104
+ s = '" \\ / \b \f \n \r \t'
105
+ assert print_block_string(s) == f'"""\n{s}\n"""'
106
+
107
def by_default_print_block_strings_as_single_line():
108
s = "one liner"
109
assert print_block_string(s) == '"""one liner"""'
0 commit comments