mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-35357: Add _mock_ prefix to name/parent/from_kall attributes of _Call/_MagicProxy. (#10873)
Fix minor typo in test function name.
This commit is contained in:
parent
eeb719eac6
commit
e63e617ebb
4 changed files with 34 additions and 16 deletions
|
@ -128,7 +128,7 @@ class TestCallable(unittest.TestCase):
|
|||
result.foo.assert_called_once_with(3, 2, 1)
|
||||
|
||||
|
||||
def test_create_autopsec(self):
|
||||
def test_create_autospec(self):
|
||||
mock = create_autospec(X)
|
||||
instance = mock()
|
||||
self.assertRaises(TypeError, instance)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue