From 3201d77a148367d739862b4f07868a76eaeb7cb1 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Sat, 13 Mar 2021 16:26:30 -0500 Subject: New upstream version 1.17.0. --- test/test_postprocessor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_postprocessor.py') diff --git a/test/test_postprocessor.py b/test/test_postprocessor.py index 4e98a97..6bf887c 100644 --- a/test/test_postprocessor.py +++ b/test/test_postprocessor.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# Copyright 2019-2020 Mike Fährmann +# Copyright 2019-2021 Mike Fährmann # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as @@ -53,7 +53,7 @@ class TestPostprocessorModule(unittest.TestCase): self.assertEqual(postprocessor.find(1234) , None) self.assertEqual(postprocessor.find(None) , None) - @patch("importlib.import_module") + @patch("builtins.__import__") def test_cache(self, import_module): import_module.return_value = MockPostprocessorModule() -- cgit v1.2.3