Skip to content

Commit d027d77

Browse files
Fix lint error.
1 parent f4758a4 commit d027d77

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Lib/test/picklecommon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def __reduce_ex__(self, proto):
9393
self._proto = proto
9494
return REX_two, ()
9595
def __reduce__(self):
96-
raise TestFailed("This __reduce__ shouldn't be called")
96+
raise AssertionError("This __reduce__ shouldn't be called")
9797

9898
class REX_four(object):
9999
"""Calling base class method should succeed"""

Lib/test/pickletester.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
from test import support
2828
from test.support import os_helper
2929
from test.support import (
30-
TestFailed, run_with_locales, no_tracing,
30+
run_with_locales, no_tracing,
3131
_2G, _4G, bigmemtest
3232
)
3333
from test.support.import_helper import forget

0 commit comments

Comments
 (0)