Skip to content

Commit 2bde783

Browse files
committed
Import verbose flag from test_support instead of testing __name__.
1 parent 0a94cc7 commit 2bde783

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Lib/test/test_strftime.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@
33
# Sanity checker for time.strftime
44

55
import time, calendar, sys, string, os
6-
7-
verbose = 0
8-
9-
if __name__ == '__main__':
10-
verbose = 1
6+
from test_support import verbose
117

128
if verbose:
139
now = time.time()

0 commit comments

Comments
 (0)