summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/template.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2018-06-20 21:08:31 (GMT)
committerGitHub <noreply@github.com>2018-06-20 21:08:31 (GMT)
commit87a927325e3856621790a39d8718ff24a19510aa (patch)
tree7d48d214f4a4eaec477e842f36b58bd7592308cf /Lib/idlelib/idle_test/template.py
parentb248e957a818e268cfb221f3b94b37bc5672456a (diff)
downloadcpython-87a927325e3856621790a39d8718ff24a19510aa.zip
cpython-87a927325e3856621790a39d8718ff24a19510aa.tar.gz
cpython-87a927325e3856621790a39d8718ff24a19510aa.tar.bz2
bpo-33917: Fix and document idlelib/idle_test/template.py (GH-7830)
The revised file compiles, runs, and tests OK. idle_test/README.txt explains how to use it to create new IDLE test files.
Diffstat (limited to 'Lib/idlelib/idle_test/template.py')
-rw-r--r--Lib/idlelib/idle_test/template.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/idle_test/template.py b/Lib/idlelib/idle_test/template.py
index 34ceac3..725a55b 100644
--- a/Lib/idlelib/idle_test/template.py
+++ b/Lib/idlelib/idle_test/template.py
@@ -1,6 +1,6 @@
"Test , coverage %."
-from idlelib import
+from idlelib import zzdummy
import unittest
from test.support import requires
from tkinter import Tk
@@ -23,7 +23,7 @@ class Test(unittest.TestCase):
del cls.root
def test_init(self):
- self.assert
+ self.assertTrue(True)
if __name__ == '__main__':