diff options
| author | Terry Jan Reedy <tjreedy@udel.edu> | 2018-06-20 17:08:31 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-20 17:08:31 -0400 |
| commit | 87a927325e3856621790a39d8718ff24a19510aa (patch) | |
| tree | 7d48d214f4a4eaec477e842f36b58bd7592308cf /Lib/idlelib/idle_test/template.py | |
| parent | b248e957a818e268cfb221f3b94b37bc5672456a (diff) | |
| download | cpython-git-87a927325e3856621790a39d8718ff24a19510aa.tar.gz | |
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.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 34ceac3f40..725a55b9c4 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__': |
