mirror of
https://github.com/python/cpython.git
synced 2024-11-24 10:24:35 +08:00
Fix another mock import
This commit is contained in:
parent
0ca9acd1dd
commit
83a16856ee
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user