summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/pyparse.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-06-18 09:11:12 (GMT)
committerGitHub <noreply@github.com>2018-06-18 09:11:12 (GMT)
commit684bc3d67797f2b5ca9368fe7ecc1c3093d7b694 (patch)
tree27841d6e84d5377ddfc382f227d82d26dd8cf9db /Lib/idlelib/pyparse.py
parentf14e8eaaa52f799958e77b426283df0f69a81725 (diff)
downloadcpython-684bc3d67797f2b5ca9368fe7ecc1c3093d7b694.zip
cpython-684bc3d67797f2b5ca9368fe7ecc1c3093d7b694.tar.gz
cpython-684bc3d67797f2b5ca9368fe7ecc1c3093d7b694.tar.bz2
bpo-33855: More edits and new minimal tests for IDLE (GH-7761)
Part 2 of 3. Continues PR GH-7689, changeset ee5ef30. Edit and add tests for 18 modules, help_about to replace and run. (cherry picked from commit ea3dc8029ab6a0f1ee6a8a72f1612dea74892e08) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/idlelib/pyparse.py')
-rw-r--r--Lib/idlelib/pyparse.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/idlelib/pyparse.py b/Lib/idlelib/pyparse.py
index 6196c2b..1eeb915 100644
--- a/Lib/idlelib/pyparse.py
+++ b/Lib/idlelib/pyparse.py
@@ -594,6 +594,6 @@ class Parser:
return self.stmt_bracketing
-if __name__ == '__main__': #pragma: nocover
- import unittest
- unittest.main('idlelib.idle_test.test_pyparse', verbosity=2)
+if __name__ == '__main__':
+ from unittest import main
+ main('idlelib.idle_test.test_pyparse', verbosity=2)