(fmt_opts, result)
| 42 | |
| 43 | def test_format_optdict(self): |
| 44 | def check_against(fmt_opts, result): |
| 45 | for i in range(0, len(fmt_opts), 2): |
| 46 | self.assertEqual(result.pop(fmt_opts[i]), fmt_opts[i + 1]) |
| 47 | if result: |
| 48 | self.fail("result still got elements: %s" % result) |
| 49 | |
| 50 | # passing an empty dict should return an empty object (tuple here) |
| 51 | self.assertFalse(ttk._format_optdict({})) |
nothing calls this directly
no test coverage detected