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