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

Method test_funcdocstring_bytes

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

Source from the content-addressed store, hash-verified

180 self.assertIn('doc', msgids)
181
182 def test_funcdocstring_bytes(self):
183 msgids = self.extract_docstrings_from_str(dedent('''\
184 def foo(bar):
185 b"""doc"""
186 '''))
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('''\

Callers

nothing calls this directly

Calls 3

dedentFunction · 0.90
assertFalseMethod · 0.80

Tested by

no test coverage detected