Visitar URL original
bpo-38122: minor fixes to AsyncMock spec handling by voidspace · Pull Request #16099 · python/cpython · GitHub
Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Remove extraneous test
  • Loading branch information
voidspace committed Sep 13, 2019
commit 6f058d9d69441b9fe9b6793aefa89f2182e78a45
7 changes: 0 additions & 7 deletions Lib/unittest/test/testmock/testmock.py
Original file line number Diff line number Diff line change
Expand Up @@ -1387,13 +1387,6 @@ def meth1(self, a, b): pass
)


def test_mock_add_spec_autospec_all_members(self):
for spec in [Something, Something()]:
mock_something = Mock()
mock_something.mock_add_spec(spec, autospec=True)
self._check_autospeced_something(mock_something)


def test_assert_has_calls_nested_without_spec(self):
m = MagicMock()
m().foo().bar().baz()
Expand Down