diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-07-13 19:08:41 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-07-13 19:08:41 (GMT) |
commit | d8412c84c7a6d853cb5295e1bddd3210abd943ab (patch) | |
tree | 083568616970ad19e40013e20b7046f9240bdd1d | |
parent | 1a689189d272bf995bdcb8cfae6188bee08ccb7e (diff) | |
download | cpython-d8412c84c7a6d853cb5295e1bddd3210abd943ab.zip cpython-d8412c84c7a6d853cb5295e1bddd3210abd943ab.tar.gz cpython-d8412c84c7a6d853cb5295e1bddd3210abd943ab.tar.bz2 |
Issue #15334: skip test_dynamic_key when run in non-interactive mode.
Patch by Jeremy Kloth.
-rw-r--r-- | Lib/test/test_winreg.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_winreg.py b/Lib/test/test_winreg.py index 12ab3ba..629c0aa 100644 --- a/Lib/test/test_winreg.py +++ b/Lib/test/test_winreg.py @@ -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 |