(self)
| 217 | self.assertFalse([msgid for msgid in msgids if 'doc' in msgid]) |
| 218 | |
| 219 | def test_moduledocstring(self): |
| 220 | for doc in ('"""doc"""', "r'''doc'''", "R'doc'", 'u"doc"'): |
| 221 | with self.subTest(doc): |
| 222 | msgids = self.extract_docstrings_from_str(dedent('''\ |
| 223 | %s |
| 224 | ''' % doc)) |
| 225 | self.assertIn('doc', msgids) |
| 226 | |
| 227 | def test_moduledocstring_bytes(self): |
| 228 | msgids = self.extract_docstrings_from_str(dedent('''\ |
nothing calls this directly
no test coverage detected