Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fb5d0a7

Browse files
committed
unittest.mock: remove another piece of Python 2 specific code
1 parent 1ab27c6 commit fb5d0a7

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Lib/unittest/mock.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2120,8 +2120,6 @@ def __init__(self, spec, spec_set=False, parent=None,
21202120
type(create_autospec),
21212121
# instance method
21222122
type(ANY.__eq__),
2123-
# unbound method
2124-
type(_ANY.__eq__),
21252123
)
21262124

21272125

0 commit comments

Comments
 (0)