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

Method test_classdocstring_fstring

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

Source from the content-addressed store, hash-verified

210 self.assertFalse([msgid for msgid in msgids if 'doc' in msgid])
211
212 def test_classdocstring_fstring(self):
213 msgids = self.extract_docstrings_from_str(dedent('''\
214 class C:
215 f"""doc"""
216 '''))
217 self.assertFalse([msgid for msgid in msgids if 'doc' in msgid])
218
219 def test_moduledocstring(self):
220 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