Import verbose flag from test_support instead of testing __name__.

This commit is contained in:
Guido van Rossum 1996-12-20 03:03:39 +00:00
parent 0a94cc788e
commit 2bde783a97
1 changed files with 1 additions and 5 deletions

View File

@ -3,11 +3,7 @@
# Sanity checker for time.strftime
import time, calendar, sys, string, os
verbose = 0
if __name__ == '__main__':
verbose = 1
from test_support import verbose
if verbose:
now = time.time()