diff options
author | Michael Foord <michael@voidspace.org.uk> | 2012-03-14 12:58:46 -0700 |
---|---|---|
committer | Michael Foord <michael@voidspace.org.uk> | 2012-03-14 12:58:46 -0700 |
commit | 83a16856ee1db8eb49a08c4492ece8239ffb5819 (patch) | |
tree | 064aa2be1f1e38b0b083ade8f2293f2fddbeaa31 | |
parent | 0ca9acd1dd906957389fb759b19ae89b3cfd2c18 (diff) | |
download | cpython-git-83a16856ee1db8eb49a08c4492ece8239ffb5819.tar.gz |
Fix another mock import
-rw-r--r-- | Lib/unittest/test/testmock/testmock.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest/test/testmock/testmock.py b/Lib/unittest/test/testmock/testmock.py index 07d8cbdbd6..ae9822eac6 100644 --- a/Lib/unittest/test/testmock/testmock.py +++ b/Lib/unittest/test/testmock/testmock.py @@ -32,7 +32,7 @@ class MockTest(unittest.TestCase): # if __all__ is badly defined then import * will raise an error # We have to exec it because you can't import * inside a method # in Python 3 - exec("from mock import *") + exec("from unittest.mock import *") def test_constructor(self): |