Lines Matching full:doc
113 for doc in ('"""doc"""', "r'''doc'''", "R'doc'", 'u"doc"'):
114 with self.subTest(doc):
118 ''' % doc))
119 self.assertIn('doc', msgids)
124 b"""doc"""
126 self.assertFalse([msgid for msgid in msgids if 'doc' in msgid])
131 f"""doc"""
133 self.assertFalse([msgid for msgid in msgids if 'doc' in msgid])
136 for doc in ('"""doc"""', "r'''doc'''", "R'doc'", 'u"doc"'):
137 with self.subTest(doc):
141 ''' % doc))
142 self.assertIn('doc', msgids)
147 b"""doc"""
149 self.assertFalse([msgid for msgid in msgids if 'doc' in msgid])
154 f"""doc"""
156 self.assertFalse([msgid for msgid in msgids if 'doc' in msgid])
160 '''_("""doc""" r'str' u"ing")''')
164 msgids = self.extract_docstrings_from_str('_(b"""doc""")')
165 self.assertFalse([msgid for msgid in msgids if 'doc' in msgid])
168 msgids = self.extract_docstrings_from_str('_(f"""doc""")')
169 self.assertFalse([msgid for msgid in msgids if 'doc' in msgid])
175 """doc"""
177 self.assertIn('doc', msgids)
183 """doc"""
185 self.assertIn('doc', msgids)
191 """doc"""
193 self.assertIn('doc', msgids)
219 """doc"""
221 self.assertIn('doc', msgids)