diff options
Diffstat (limited to 'Lib/idlelib/idle_test/test_util.py')
-rw-r--r-- | Lib/idlelib/idle_test/test_util.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Lib/idlelib/idle_test/test_util.py b/Lib/idlelib/idle_test/test_util.py new file mode 100644 index 0000000..20721fe --- /dev/null +++ b/Lib/idlelib/idle_test/test_util.py @@ -0,0 +1,14 @@ +"""Test util, coverage 100%""" + +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) |