]> granicus.if.org Git - python/commitdiff
Issue #15334: skip test_dynamic_key when run in non-interactive mode.
authorAntoine Pitrou <solipsis@pitrou.net>
Fri, 13 Jul 2012 19:08:41 +0000 (21:08 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Fri, 13 Jul 2012 19:08:41 +0000 (21:08 +0200)
Patch by Jeremy Kloth.

Lib/test/test_winreg.py
Misc/ACKS

index 0c1bf294631746088dda643e4b826aa1aa71f323..6f31a559bad703dfd74be32a8f1eccd636bd33d3 100644 (file)
@@ -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
index 8e377182b014e8ac10706872411c4b44ce4731a2..7ecf977a88b4fdd64856fe0e27e5feb791ca62a9 100644 (file)
--- 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