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.

requirements: Re-drop direct dependency on mock.

Anders Kaseorgf59f2ca16584
diff --git a/zerver/lib/test_runner.py b/zerver/lib/test_runner.py
index 2c6cf84e041..81ce493c2cf 100644
--- a/zerver/lib/test_runner.py
+++ b/zerver/lib/test_runner.py
@@ -4,10 +4,9 @@ import random
import shutil
from functools import partial
from typing import Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union, cast
-from unittest import TestLoader, TestSuite, runner
+from unittest import TestLoader, TestSuite, mock, runner
from unittest.result import TestResult
-import mock
from django.conf import settings
from django.db import connections
from django.test import TestCase