diff --git a/test/units/modules/core/test_apt.py b/test/units/modules/core/test_apt.py index bd43a4aeae4..47e41327979 100644 --- a/test/units/modules/core/test_apt.py +++ b/test/units/modules/core/test_apt.py @@ -2,7 +2,8 @@ import collections import mock import os import sys -import unittest +from ansible.compat.tests import unittest + try: from ansible.modules.core.packaging.os.apt import (