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

Method test_moduledocstring_bytes

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

Source from the content-addressed store, hash-verified

225 self.assertIn('doc', msgids)
226
227 def test_moduledocstring_bytes(self):
228 msgids = self.extract_docstrings_from_str(dedent('''\
229 b"""doc"""
230 '''))
231 self.assertFalse([msgid for msgid in msgids if 'doc' in msgid])
232
233 def test_moduledocstring_fstring(self):
234 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