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.
This commit is contained in:
Terry Jan Reedy 2018-06-20 17:08:31 -04:00 committed by GitHub
parent b248e957a8
commit 87a927325e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 26 deletions

View file

@ -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__':