From bb8fafaacbcd27292d2eadf7417b6b366c2aaddd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Tue, 19 Jan 2021 11:52:05 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20mock=20=3D>=20unittest.mock?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We don't have the mock package installed here anymore --- tests/printer/test_script.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/printer/test_script.py b/tests/printer/test_script.py index b580e4ef7..57a0fefb4 100644 --- a/tests/printer/test_script.py +++ b/tests/printer/test_script.py @@ -1,10 +1,8 @@ -# -*- coding: utf-8 -*- __license__ = "GNU Affero General Public License http://www.gnu.org/licenses/agpl.html" __copyright__ = "Copyright (C) 2021 The OctoPrint Project - Released under terms of the AGPLv3 License" import unittest - -from mock import ANY, MagicMock, call, patch +from unittest.mock import ANY, MagicMock, call, patch from octoprint.printer.standard import Printer