summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/test/testmock/testcallable.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/unittest/test/testmock/testcallable.py')
-rw-r--r--Lib/unittest/test/testmock/testcallable.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest/test/testmock/testcallable.py b/Lib/unittest/test/testmock/testcallable.py
index af1ce7e..34474c4 100644
--- a/Lib/unittest/test/testmock/testcallable.py
+++ b/Lib/unittest/test/testmock/testcallable.py
@@ -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)