test util coverage 100 import unittest from idlelib import util class utiltestunittest testcase def testextensionsself for extension in pyi py pyw self assertinextension util pyextensions if name main unittest mainverbosity2
import unittest
from idlelib import util


class UtilTest(unittest.TestCase):
    def test_extensions(self):
        for extension in {'.pyi', '.py', '.pyw'}:
            self.assertIn(extension, util.py_extensions)


if __name__ == '__main__':
    unittest.main(verbosity=2)