diff options
author | Michael Foord <michael@voidspace.org.uk> | 2012-03-14 19:58:46 (GMT) |
---|---|---|
committer | Michael Foord <michael@voidspace.org.uk> | 2012-03-14 19:58:46 (GMT) |
commit | 83a16856ee1db8eb49a08c4492ece8239ffb5819 (patch) | |
tree | 064aa2be1f1e38b0b083ade8f2293f2fddbeaa31 /Lib/unittest/test | |
parent | 0ca9acd1dd906957389fb759b19ae89b3cfd2c18 (diff) | |
download | cpython-83a16856ee1db8eb49a08c4492ece8239ffb5819.zip cpython-83a16856ee1db8eb49a08c4492ece8239ffb5819.tar.gz cpython-83a16856ee1db8eb49a08c4492ece8239ffb5819.tar.bz2 |
Fix another mock import
Diffstat (limited to 'Lib/unittest/test')
-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 07d8cbd..ae9822e 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): |