Skip to content

Commit 56999b4

Browse files
committed
Add more tests
1 parent d9ae563 commit 56999b4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Lib/test/test_tools/test_i18n.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,9 +460,13 @@ def test_comments_with_multiple_tags(self):
460460
461461
# bar: comment
462462
_("bar")
463+
464+
# baz: comment
465+
_("baz")
463466
'''), args=args, raw=True)
464467
self.assertIn('#. foo: comment', data)
465468
self.assertIn('#. bar: comment', data)
469+
self.assertNotIn('#. baz: comment', data)
466470

467471
def test_comments_not_extracted_without_tags(self):
468472
"""

0 commit comments

Comments
 (0)