MCPcopy Index your code
hub / github.com/python/cpython / test_funcdocstring_fstring

Method test_funcdocstring_fstring

Lib/test/test_tools/test_i18n.py:189–194  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

187 self.assertFalse([msgid for msgid in msgids if 'doc' in msgid])
188
189 def test_funcdocstring_fstring(self):
190 msgids = self.extract_docstrings_from_str(dedent('''\
191 def foo(bar):
192 f"""doc"""
193 '''))
194 self.assertFalse([msgid for msgid in msgids if 'doc' in msgid])
195
196 def test_classdocstring(self):
197 for doc in ('"""doc"""', "r'''doc'''", "R'doc'", 'u"doc"'):

Callers

nothing calls this directly

Calls 3

dedentFunction · 0.90
assertFalseMethod · 0.80

Tested by

no test coverage detected