Commit d8412c84 authored by Antoine Pitrou's avatar Antoine Pitrou

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

Patch by Jeremy Kloth.
parent 1a689189
......@@ -280,6 +280,7 @@ class LocalWinregTests(BaseWinregTests):
DeleteKey(key, 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment