(self, string)
| 2158 | class SectionlessTestCase(unittest.TestCase): |
| 2159 | |
| 2160 | def fromstring(self, string): |
| 2161 | cfg = configparser.ConfigParser(allow_unnamed_section=True) |
| 2162 | cfg.read_string(string) |
| 2163 | return cfg |
| 2164 | |
| 2165 | def test_no_first_section(self): |
| 2166 | cfg1 = self.fromstring(""" |
no test coverage detected