From f0b1baf362972dca3bf720cf6b0f4a720f50259c Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Fri, 13 Jul 2012 21:08:41 +0200 Subject: [PATCH] Issue #15334: skip test_dynamic_key when run in non-interactive mode. Patch by Jeremy Kloth. --- Lib/test/test_winreg.py | 1 + Misc/ACKS | 1 + 2 files changed, 2 insertions(+) diff --git a/Lib/test/test_winreg.py b/Lib/test/test_winreg.py index 0c1bf294631..6f31a559bad 100644 --- a/Lib/test/test_winreg.py +++ b/Lib/test/test_winreg.py @@ -289,6 +289,7 @@ class LocalWinregTests(BaseWinregTests): 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 index 8e377182b01..7ecf977a88b 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -483,6 +483,7 @@ Peter van Kampen Rafe Kaplan Jacob Kaplan-Moss Jan Kaliszewski +Jeremy Kloth Arkady Koplyarov Lou Kates Hiroaki Kawai