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

Method test_classdocstring_bytes

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

Source from the content-addressed store, hash-verified

203 self.assertIn('doc', msgids)
204
205 def test_classdocstring_bytes(self):
206 msgids = self.extract_docstrings_from_str(dedent('''\
207 class C:
208 b"""doc"""
209 '''))
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('''\

Callers

nothing calls this directly

Calls 3

dedentFunction · 0.90
assertFalseMethod · 0.80

Tested by

no test coverage detected