Skip to content

Commit 18fc6ff

Browse files
committed
Fix use of mock
1 parent bd277b6 commit 18fc6ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/test/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def setUpClass(cls):
1313

1414
class MagicIterMock(unittest.mock.MagicMock):
1515

16-
__next__ = mock.Mock(return_value=None)
16+
__next__ = unittest.mock.Mock(return_value=None)
1717

1818

1919
TEST_CONFIG = os.path.join(os.path.dirname(__file__), "test.config")

0 commit comments

Comments
 (0)