mirror of https://github.com/python/cpython
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
|
# Sanity checker for time.strftime
|
||||||
|
|
||||||
import time, calendar, sys, string, os
|
import time, calendar, sys, string, os
|
||||||
|
from test_support import verbose
|
||||||
verbose = 0
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
verbose = 1
|
|
||||||
|
|
||||||
if verbose:
|
if verbose:
|
||||||
now = time.time()
|
now = time.time()
|
||||||
|
|
Loading…
Reference in New Issue