Coverage for idle_test/test_util.py: 83%
8 statements
« prev ^ index » next coverage.py v7.2.5, created at 2023-05-11 13:22 -0700
« prev ^ index » next coverage.py v7.2.5, created at 2023-05-11 13:22 -0700
1"""Test util, coverage 100%"""
3import unittest
4from idlelib import util
7class UtilTest(unittest.TestCase):
8 def test_extensions(self):
9 for extension in {'.pyi', '.py', '.pyw'}: 1b
10 self.assertIn(extension, util.py_extensions) 1b
13if __name__ == '__main__': 13 ↛ 14line 13 didn't jump to line 14, because the condition on line 13 was never true
14 unittest.main(verbosity=2)