From b1a98de25ecd3e11fc3093de31fe844233dcd389 Mon Sep 17 00:00:00 2001 From: Guilherme Polo Date: Wed, 28 Jan 2009 20:03:26 +0000 Subject: Issue #5083: New 'gui' resource for regrtest. --- Lib/test/regrtest.py | 4 +++- Misc/NEWS | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index faa308c..5c91dc3 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -116,6 +116,8 @@ resources to test. Currently only the following are defined: urlfetch - It is okay to download files required on testing. + gui - Run tests that require a running GUI. + To enable all resources except one, use '-uall,-'. For example, to run all the tests except for the bsddb tests, give the option '-uall,-bsddb'. @@ -168,7 +170,7 @@ if sys.platform == 'darwin': from test import test_support RESOURCE_NAMES = ('audio', 'curses', 'largefile', 'network', 'bsddb', - 'decimal', 'compiler', 'subprocess', 'urlfetch') + 'decimal', 'compiler', 'subprocess', 'urlfetch', 'gui') def usage(code, msg=''): diff --git a/Misc/NEWS b/Misc/NEWS index 5866c4a..f6ef272 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -442,6 +442,11 @@ Extension Modules - Issue #4396: The parser module now correctly validates the with statement. +Tests +----- + +- Issue #5083: New 'gui' resource for regrtest. + What's New in Python 2.6 final ============================== -- cgit v0.12