@@ -237,9 +237,9 @@ def test_text_markdown_simple(self):
237
237
238
238
def test_text_markdown_v2_simple (self ):
239
239
test_md_string = (r'Test for <*bold*, _ita\_lic_, `\\\`code`, '
240
- '[links](http://github.com/abc\\ \\ \\ )def), '
241
- '[text\-mention](tg://user?id=123456789) and ```\`\\ \\ pre```. '
242
- 'http://google\.com and _bold *nested in ~strk~ nested in* italic_.' )
240
+ '[links](http://github.com/abc\\ \\ \)def), '
241
+ '[text\-mention](tg://user?id=123456789) and ```\`\\ \\ pre```\ . '
242
+ 'http://google\.com and _bold *nested in ~strk~ nested in* italic_\ .' )
243
243
text_markdown = self .test_message_v2 .text_markdown_v2
244
244
assert text_markdown == test_md_string
245
245
@@ -258,10 +258,10 @@ def test_text_markdown_urled(self):
258
258
259
259
def test_text_markdown_v2_urled (self ):
260
260
test_md_string = (r'Test for <*bold*, _ita\_lic_, `\\\`code`, '
261
- '[links](http://github.com/abc\\ \\ \\ )def), '
262
- '[text\-mention](tg://user?id=123456789) and ```\`\\ \\ pre```. '
261
+ '[links](http://github.com/abc\\ \\ \)def), '
262
+ '[text\-mention](tg://user?id=123456789) and ```\`\\ \\ pre```\ . '
263
263
'[http://google\.com](http://google.com) and _bold *nested in ~strk~ '
264
- 'nested in* italic_.' )
264
+ 'nested in* italic_\ .' )
265
265
text_markdown = self .test_message_v2 .text_markdown_v2_urled
266
266
assert text_markdown == test_md_string
267
267
@@ -314,8 +314,8 @@ def test_caption_markdown_simple(self):
314
314
def test_caption_markdown_v2_simple (self ):
315
315
test_md_string = (r'Test for <*bold*, _ita\_lic_, `\\\`code`, '
316
316
'[links](http://github.com/abc\\ \\ \\ )def), '
317
- '[text\-mention](tg://user?id=123456789) and ```\`\\ \\ pre```. '
318
- 'http://google\.com and _bold *nested in ~strk~ nested in* italic_.' )
317
+ '[text\-mention](tg://user?id=123456789) and ```\`\\ \\ pre```\ . '
318
+ 'http://google\.com and _bold *nested in ~strk~ nested in* italic_\ .' )
319
319
caption_markdown = self .test_message_v2 .caption_markdown_v2
320
320
assert caption_markdown == test_md_string
321
321
@@ -335,9 +335,9 @@ def test_caption_markdown_urled(self):
335
335
def test_caption_markdown_v2_urled (self ):
336
336
test_md_string = (r'Test for <*bold*, _ita\_lic_, `\\\`code`, '
337
337
'[links](http://github.com/abc\\ \\ \\ )def), '
338
- '[text\-mention](tg://user?id=123456789) and ```\`\\ \\ pre```. '
338
+ '[text\-mention](tg://user?id=123456789) and ```\`\\ \\ pre```\ . '
339
339
'[http://google\.com](http://google.com) and _bold *nested in ~strk~ '
340
- 'nested in* italic_.' )
340
+ 'nested in* italic_\ .' )
341
341
caption_markdown = self .test_message_v2 .caption_markdown_v2_urled
342
342
assert caption_markdown == test_md_string
343
343
@@ -448,8 +448,8 @@ def test(*args, **kwargs):
448
448
quote = True )
449
449
450
450
def test_reply_markdown_v2 (self , monkeypatch , message ):
451
- test_md_string = (r'Test for <*bold*, _ita\_lic_, `\\\\\ `code`, '
452
- '[links](http://github.com/abc\\ \\ \\ )def), '
451
+ test_md_string = (r'Test for <*bold*, _ita\_lic_, `\\\`code`, '
452
+ '[links](http://github.com/abc\\ \\ \)def), '
453
453
'[text\-mention](tg://user?id=123456789) and ```\`\\ \\ pre```\. '
454
454
'http://google\.com and _bold *nested in ~strk~ nested in* italic_\.' )
455
455
0 commit comments