summaryrefslogtreecommitdiffstats
path: root/test/units/module_utils/conftest.py
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2023-10-05 00:11:17 +0200
committerGitHub <noreply@github.com>2023-10-05 00:11:17 +0200
commit9f899f94924fafeb330b1e8b18c970742da56e0d (patch)
treef0f250716e1b190097ac289b5657b5dfd058389a /test/units/module_utils/conftest.py
parentansible-test - Remove more Python 2.7 / 3.6 support (#81898) (diff)
downloadansible-9f899f94924fafeb330b1e8b18c970742da56e0d.tar.xz
ansible-9f899f94924fafeb330b1e8b18c970742da56e0d.zip
Require `from __future__ import annotations` (#81902)
Diffstat (limited to 'test/units/module_utils/conftest.py')
-rw-r--r--test/units/module_utils/conftest.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/units/module_utils/conftest.py b/test/units/module_utils/conftest.py
index 8e82bf2a67..de4af0b3f4 100644
--- a/test/units/module_utils/conftest.py
+++ b/test/units/module_utils/conftest.py
@@ -1,8 +1,7 @@
# Copyright (c) 2017 Ansible Project
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-from __future__ import (absolute_import, division, print_function)
-__metaclass__ = type
+from __future__ import annotations
import json
import sys