Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Lib/test/mock_socket.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def makefile(self, mode='r', bufsize=-1):
handle = MockFile(self.lines)
return handle

def sendall(self, buffer, flags=None):
def sendall(self, data, flags=None):
self.last = data
self.output.append(data)
return len(data)
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def g():
nonlocal endly
try:
yield
inner()
self.inner()
finally:
endly = True
gen = g()
Expand Down
2 changes: 0 additions & 2 deletions Lib/unittest/test/test_program.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,6 @@ def testBufferCatchFailfast(self):
program = self.program
for arg, attr in (('buffer', 'buffer'), ('failfast', 'failfast'),
('catch', 'catchbreak')):
if attr == 'catch' and not hasInstallHandler:
continue

setattr(program, attr, None)
program.parseArgs([None])
Expand Down