From f59f2ca16584b8acf39acfd648882ea23f32f09f Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Thu, 15 Apr 2021 18:22:29 -0700 Subject: [PATCH] requirements: Re-drop direct dependency on mock. This was dropped in commit 840cf4b8850c3f87b4f6c11287e2f8f98609258d (#15091), but commit 143206795949d85545d1a76f634d23b5b780898f (#17047) mistakenly reintroduced it. Signed-off-by: Anders Kaseorg --- zerver/lib/test_runner.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zerver/lib/test_runner.py b/zerver/lib/test_runner.py index 2c6cf84e04..81ce493c2c 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