commit | 7bd61cbc030663ac688364260d2142d09678b2a3 | [log] [tgz] |
---|---|---|
author | Andrew Svetlov <andrew.svetlov@gmail.com> | Wed Dec 19 22:49:25 2012 +0200 |
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | Wed Dec 19 22:49:25 2012 +0200 |
tree | 217c6c7e38734bf15f1b64133b430b46f2a98b17 | |
parent | 737fb89dd15e4db6ef30d25963e774ae09cc49dc [diff] [blame] |
replace threw with raised (#16714)
diff --git a/Lib/test/test_winreg.py b/Lib/test/test_winreg.py index 918b312..c7b50dd 100644 --- a/Lib/test/test_winreg.py +++ b/Lib/test/test_winreg.py
@@ -277,7 +277,7 @@ def test_long_key(self): # Issue2810, in 2.6 and 3.1 when the key name was exactly 256 - # characters, EnumKey threw "WindowsError: More data is + # characters, EnumKey raised "WindowsError: More data is # available" name = 'x'*256 try: