Fix another mock import

This commit is contained in:
Michael Foord 2012-03-14 12:58:46 -07:00
parent 0ca9acd1dd
commit 83a16856ee

View File

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