Import verbose flag from test_support instead of testing __name__.
This commit is contained in:
parent
0a94cc788e
commit
2bde783a97
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue