[Python-checkins] cpython (3.2): Issue #15334: skip test_dynamic_key when run in non-interactive mode.
antoine.pitrou
python-checkins at python.org
Fri Jul 13 21:11:43 CEST 2012
http://hg.python.org/cpython/rev/ec2caf810e5e
changeset: 78084:ec2caf810e5e
branch: 3.2
parent: 78080:4d480a2a6296
user: Antoine Pitrou <solipsis at pitrou.net>
date: Fri Jul 13 21:08:41 2012 +0200
summary:
Issue #15334: skip test_dynamic_key when run in non-interactive mode.
Patch by Jeremy Kloth.
files:
Lib/test/test_winreg.py | 1 +
Misc/ACKS | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_winreg.py b/Lib/test/test_winreg.py
--- a/Lib/test/test_winreg.py
+++ b/Lib/test/test_winreg.py
@@ -289,6 +289,7 @@
DeleteKey(HKEY_CURRENT_USER, '\\'.join((test_key_name, name)))
DeleteKey(HKEY_CURRENT_USER, test_key_name)
+ @unittest.skipUnless('PROMPT' in os.environ, "Requires interactive session")
def test_dynamic_key(self):
# Issue2810, when the value is dynamically generated, these
# throw "WindowsError: More data is available" in 2.6 and 3.1
diff --git a/Misc/ACKS b/Misc/ACKS
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -483,6 +483,7 @@
Rafe Kaplan
Jacob Kaplan-Moss
Jan Kaliszewski
+Jeremy Kloth
Arkady Koplyarov
Lou Kates
Hiroaki Kawai
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list