Issue #5083: New 'gui' resource for regrtest.
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 @@
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,-<resource>'. For
example, to run all the tests except for the bsddb tests, give the
option '-uall,-bsddb'.
@@ -168,7 +170,7 @@
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 @@
- 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
==============================