summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_strftime.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-20 03:03:39 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-20 03:03:39 (GMT)
commit2bde783a97a9b7517fca28776e1a775dea57cbd4 (patch)
tree1fc2763ff614a883c4ae0c0de5d3e0c896215fb2 /Lib/test/test_strftime.py
parent0a94cc788e6370ee1406e19ad53af6b0bbbc2c90 (diff)
downloadcpython-2bde783a97a9b7517fca28776e1a775dea57cbd4.zip
cpython-2bde783a97a9b7517fca28776e1a775dea57cbd4.tar.gz
cpython-2bde783a97a9b7517fca28776e1a775dea57cbd4.tar.bz2
Import verbose flag from test_support instead of testing __name__.
Diffstat (limited to 'Lib/test/test_strftime.py')
-rwxr-xr-xLib/test/test_strftime.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/Lib/test/test_strftime.py b/Lib/test/test_strftime.py
index 7acc3ef..93e7b66 100755
--- a/Lib/test/test_strftime.py
+++ b/Lib/test/test_strftime.py
@@ -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()