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

Method test_msgid_fstring

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

Source from the content-addressed store, hash-verified

246 self.assertFalse([msgid for msgid in msgids if 'doc' in msgid])
247
248 def test_msgid_fstring(self):
249 msgids = self.extract_docstrings_from_str('_(f"""doc""")')
250 self.assertFalse([msgid for msgid in msgids if 'doc' in msgid])
251
252 def test_funcdocstring_annotated_args(self):
253 """ Test docstrings for functions with annotated args """

Callers

nothing calls this directly

Calls 2

assertFalseMethod · 0.80

Tested by

no test coverage detected