mirror of https://github.com/python/cpython
15 lines
308 B
Python
15 lines
308 B
Python
|
"""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)
|