(self)
| 203 | self.assertIn('plain.arrow', style.element_names()) |
| 204 | |
| 205 | def test_element_create_from_errors(self): |
| 206 | style = self.style |
| 207 | with self.assertRaises(IndexError): |
| 208 | style.element_create('plain.newelem', 'from') |
| 209 | with self.assertRaisesRegex(TclError, |
| 210 | 'theme "spam" (does not|doesn\'t) exist'): |
| 211 | style.element_create('plain.newelem', 'from', 'spam') |
| 212 | |
| 213 | def test_element_create_image(self): |
| 214 | style = self.style |
nothing calls this directly
no test coverage detected