mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Import verbose flag from test_support instead of testing __name__.
This commit is contained in:
parent
0a94cc788e
commit
2bde783a97
1 changed files with 1 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue