diff options
| author | 2021-03-13 16:26:37 -0500 | |
|---|---|---|
| committer | 2021-03-13 16:26:37 -0500 | |
| commit | da957b2f208e97f6676605a8e23d12b4085c1ce7 (patch) | |
| tree | 9caf3d31f464715398822e8e47f71c7682e297aa /test/test_postprocessor.py | |
| parent | d968c34172dd5c2eb307b14aa7e2fac7f4707214 (diff) | |
| parent | 3201d77a148367d739862b4f07868a76eaeb7cb1 (diff) | |
Update upstream source from tag 'upstream/1.17.0'
Update to upstream version '1.17.0'
with Debian dir a31fb4b099fcdaf845e80d20dda8fb0f31bf26c1
Diffstat (limited to 'test/test_postprocessor.py')
| -rw-r--r-- | test/test_postprocessor.py | 4 |
1 files changed, 2 insertions, 2 deletions
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() |
