There was an error while loading. Please reload this page.
1 parent 8727664 commit 719e14dCopy full SHA for 719e14d
3 files changed
Lib/test/mock_socket.py
@@ -91,7 +91,7 @@ def makefile(self, mode='r', bufsize=-1):
91
handle = MockFile(self.lines)
92
return handle
93
94
- def sendall(self, buffer, flags=None):
+ def sendall(self, data, flags=None):
95
self.last = data
96
self.output.append(data)
97
return len(data)
Lib/test/test_frame.py
@@ -50,7 +50,7 @@ def g():
50
nonlocal endly
51
try:
52
yield
53
- inner()
+ self.inner()
54
finally:
55
endly = True
56
gen = g()
Lib/unittest/test/test_program.py
@@ -188,8 +188,6 @@ def testBufferCatchFailfast(self):
188
program = self.program
189
for arg, attr in (('buffer', 'buffer'), ('failfast', 'failfast'),
190
('catch', 'catchbreak')):
191
- if attr == 'catch' and not hasInstallHandler:
192
- continue
193
194
setattr(program, attr, None)
195
program.parseArgs([None])
0 commit comments