(self)
| 194 | self.assertFalse([msgid for msgid in msgids if 'doc' in msgid]) |
| 195 | |
| 196 | def test_classdocstring(self): |
| 197 | for doc in ('"""doc"""', "r'''doc'''", "R'doc'", 'u"doc"'): |
| 198 | with self.subTest(doc): |
| 199 | msgids = self.extract_docstrings_from_str(dedent('''\ |
| 200 | class C: |
| 201 | %s |
| 202 | ''' % doc)) |
| 203 | self.assertIn('doc', msgids) |
| 204 | |
| 205 | def test_classdocstring_bytes(self): |
| 206 | msgids = self.extract_docstrings_from_str(dedent('''\ |
nothing calls this directly
no test coverage detected