mirror of
https://github.com/python/cpython.git
synced 2025-07-19 17:25:54 +00:00
replace threw with raised (#16714)
This commit is contained in:
commit
fd43b4d3e4
3 changed files with 3 additions and 3 deletions
|
@ -277,7 +277,7 @@ class LocalWinregTests(BaseWinregTests):
|
|||
|
||||
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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue