Issue #15334: skip test_dynamic_key when run in non-interactive mode.

Patch by Jeremy Kloth.
This commit is contained in:
Antoine Pitrou 2012-07-13 21:08:41 +02:00
parent 68f4247b65
commit f0b1baf362
2 changed files with 2 additions and 0 deletions

View 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

View File

@ -483,6 +483,7 @@ Peter van Kampen
Rafe Kaplan
Jacob Kaplan-Moss
Jan Kaliszewski
Jeremy Kloth
Arkady Koplyarov
Lou Kates
Hiroaki Kawai