test_util.py 308 B

1234567891011121314
  1. """Test util, coverage 100%"""
  2. import unittest
  3. from idlelib import util
  4. class UtilTest(unittest.TestCase):
  5. def test_extensions(self):
  6. for extension in {'.pyi', '.py', '.pyw'}:
  7. self.assertIn(extension, util.py_extensions)
  8. if __name__ == '__main__':
  9. unittest.main(verbosity=2)