diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-07-13 21:08:41 +0200 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-07-13 21:08:41 +0200 |
commit | f0b1baf362972dca3bf720cf6b0f4a720f50259c (patch) | |
tree | d4c682f89b721de49313b125df5fe7b222b7db50 /Lib/test/test_winreg.py | |
parent | 68f4247b656148f7998cda856e3f77b0360a3c9c (diff) | |
download | cpython-git-f0b1baf362972dca3bf720cf6b0f4a720f50259c.tar.gz |
Issue #15334: skip test_dynamic_key when run in non-interactive mode.
Patch by Jeremy Kloth.
Diffstat (limited to 'Lib/test/test_winreg.py')
-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 0c1bf29463..6f31a559ba 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 |