diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-06-20 21:33:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-20 21:33:14 (GMT) |
commit | 7c853d0620e1ea838f46642dbaa8ef142d80aa01 (patch) | |
tree | 446f707a40dd928b3b680236ae937d16434d4070 /Lib/idlelib/idle_test/template.py | |
parent | b41dc5682c596258d1489a1409fad2d65b5dffd9 (diff) | |
download | cpython-7c853d0620e1ea838f46642dbaa8ef142d80aa01.zip cpython-7c853d0620e1ea838f46642dbaa8ef142d80aa01.tar.gz cpython-7c853d0620e1ea838f46642dbaa8ef142d80aa01.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.
(cherry picked from commit 87a927325e3856621790a39d8718ff24a19510aa)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/idlelib/idle_test/template.py')
-rw-r--r-- | Lib/idlelib/idle_test/template.py | 4 |
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__': |