• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Test file locations
2from gettext import gettext as _
3
4# Duplicate strings
5_('foo')
6_('foo')
7
8# Duplicate strings on the same line should only add one location to the output
9_('bar'), _('bar')
10
11
12# Duplicate docstrings
13class A:
14    """docstring"""
15
16
17def f():
18    """docstring"""
19
20
21# Duplicate message and docstring
22_('baz')
23
24
25def g():
26    """baz"""
27