diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-07-13 19:10:17 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-07-13 19:10:17 (GMT) |
commit | b9c7c8260dec945b72f3e21e235d4917b71c6993 (patch) | |
tree | 53de35b4fee31059a601f4bd838c9c1ba41f1472 | |
parent | c287423cb02ab4f466191cfea1d038f857b7db5c (diff) | |
parent | f0b1baf362972dca3bf720cf6b0f4a720f50259c (diff) | |
download | cpython-b9c7c8260dec945b72f3e21e235d4917b71c6993.zip cpython-b9c7c8260dec945b72f3e21e235d4917b71c6993.tar.gz cpython-b9c7c8260dec945b72f3e21e235d4917b71c6993.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 0c1bf29..6f31a55 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 |