(self)
| 1054 | "spam spam and spam!").replace(' ', '\t\n') |
| 1055 | |
| 1056 | def setUp(self): |
| 1057 | cf = self.newconfig() |
| 1058 | for i in range(100): |
| 1059 | s = 'section{}'.format(i) |
| 1060 | cf.add_section(s) |
| 1061 | for j in range(10): |
| 1062 | cf.set(s, 'lovely_spam{}'.format(j), self.wonderful_spam) |
| 1063 | with open(os_helper.TESTFN, 'w', encoding="utf-8") as f: |
| 1064 | cf.write(f) |
| 1065 | |
| 1066 | def tearDown(self): |
| 1067 | os.unlink(os_helper.TESTFN) |