Skip to content

Commit b9170ba

Browse files
Explain the placeholder import in template.py
Also add the missing quote in the instructions in README.txt. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 7d801b3 commit b9170ba

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/idlelib/idle_test/README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The idle directory, idlelib, has over 60 xyz.py files. The idle_test
1818
subdirectory contains test_xyz.py for each implementation file xyz.py.
1919
To add a test for abc.py, open idle_test/template.py and immediately
2020
Save As test_abc.py. Insert 'abc' on the first line, and replace
21-
'zzdummy' with 'abc.
21+
'zzdummy' with 'abc'.
2222

2323
Remove the imports of requires and tkinter if not needed. Otherwise,
2424
add to the tkinter imports as needed.

Lib/idlelib/idle_test/template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"Test , coverage %."
22

3-
from idlelib import zzdummy
3+
from idlelib import zzdummy # Replace with the module to test.
44
import unittest
55
from test.support import requires
66
from tkinter import Tk

0 commit comments

Comments
 (0)