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:
Andrew Dunai 2018-12-04 11:08:45 +02:00 committed by Chris Withers
parent eeb719eac6
commit e63e617ebb
4 changed files with 34 additions and 16 deletions

View file

@ -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)