Skip to content

Commit 6818558

Browse files
committed
Python3 version of @shishirmk's triple quote test
1 parent 20ced9c commit 6818558

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

python3/koans/about_strings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@ def test_triple_quoted_strings_need_less_escaping(self):
5555
b = """Hello "world"."""
5656
self.assertEqual(__, (a == b))
5757

58-
def but_you_still_have_to_be_careful_at_the_end_of_a_triple_quoted_string(self):
58+
def test_escaping_quotes_at_the_end_of_triple_quoted_string(self):
5959
string = """Hello "world\""""
60+
self.assertEqual(__, string)
6061

6162
def test_plus_concatenates_strings(self):
6263
string = "Hello, " + "world"

0 commit comments

Comments
 (0)