summaryrefslogtreecommitdiffstats
path: root/Lib/test/libregrtest/cmdline.py
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2016-07-22 22:47:04 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2016-07-22 22:47:04 (GMT)
commit5d0c59838223ce46a6e2b90a7d3ed48ee1ac481e (patch)
tree896ad1e002ff1392427e25bb0b95b8ec08fb399a /Lib/test/libregrtest/cmdline.py
parent638e6220557db50b01653b410eb12f11b9b8ab1c (diff)
downloadcpython-5d0c59838223ce46a6e2b90a7d3ed48ee1ac481e.zip
cpython-5d0c59838223ce46a6e2b90a7d3ed48ee1ac481e.tar.gz
cpython-5d0c59838223ce46a6e2b90a7d3ed48ee1ac481e.tar.bz2
Closes issue #24773: Implement PEP 495 (Local Time Disambiguation).
Diffstat (limited to 'Lib/test/libregrtest/cmdline.py')
-rw-r--r--Lib/test/libregrtest/cmdline.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/libregrtest/cmdline.py b/Lib/test/libregrtest/cmdline.py
index de09a01..f2ec0bd 100644
--- a/Lib/test/libregrtest/cmdline.py
+++ b/Lib/test/libregrtest/cmdline.py
@@ -112,6 +112,8 @@ resources to test. Currently only the following are defined:
gui - Run tests that require a running GUI.
+ tzdata - Run tests that require timezone data.
+
To enable all resources except one, use '-uall,-<resource>'. For
example, to run all the tests except for the gui tests, give the
option '-uall,-gui'.
@@ -119,7 +121,7 @@ option '-uall,-gui'.
RESOURCE_NAMES = ('audio', 'curses', 'largefile', 'network',
- 'decimal', 'cpu', 'subprocess', 'urlfetch', 'gui')
+ 'decimal', 'cpu', 'subprocess', 'urlfetch', 'gui', 'tzdata')
class _ArgParser(argparse.ArgumentParser):