We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d52406 commit 457c1f4Copy full SHA for 457c1f4
Lib/test/test_unittest/testmock/testsealable.py
@@ -175,15 +175,12 @@ def test_seal_with_autospec(self):
175
# https://bugs.python.org/issue45156
176
class Foo:
177
foo = 0
178
- def bar1(self):
179
- return 1
180
- def bar2(self):
181
- return 2
+ def bar1(self): pass
+ def bar2(self): pass
182
183
class Baz:
184
baz = 3
185
- def ban(self):
186
- return 4
+ def ban(self): pass
187
188
for spec_set in (True, False):
189
with self.subTest(spec_set=spec_set):
0 commit comments