Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

test_hash_reqs: Use mock from unittest.

Anders Kaseorg691f8f8e47fa
diff --git a/tools/tests/test_hash_reqs.py b/tools/tests/test_hash_reqs.py
index e11719cfdcf..9d9482c2393 100644
--- a/tools/tests/test_hash_reqs.py
+++ b/tools/tests/test_hash_reqs.py
@@ -1,6 +1,5 @@
import unittest
-
-import mock
+from unittest import mock
from scripts.lib.hash_reqs import expand_reqs, hash_deps
from tools.setup.setup_venvs import DEV_REQS_FILE