(self)
| 189 | self.assertIsInstance(optname, str) |
| 190 | |
| 191 | def test_element_create_errors(self): |
| 192 | style = self.style |
| 193 | with self.assertRaises(TypeError): |
| 194 | style.element_create('plain.newelem') |
| 195 | with self.assertRaisesRegex(TclError, 'No such element type spam'): |
| 196 | style.element_create('plain.newelem', 'spam') |
| 197 | |
| 198 | def test_element_create_from(self): |
| 199 | style = self.style |
nothing calls this directly
no test coverage detected