summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/result_pickle_error
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/integration/targets/result_pickle_error
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/integration/targets/result_pickle_error')
-rw-r--r--test/integration/targets/result_pickle_error/action_plugins/result_pickle_error.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/integration/targets/result_pickle_error/action_plugins/result_pickle_error.py b/test/integration/targets/result_pickle_error/action_plugins/result_pickle_error.py
index e8d712a337..c55cfc38a4 100644
--- a/test/integration/targets/result_pickle_error/action_plugins/result_pickle_error.py
+++ b/test/integration/targets/result_pickle_error/action_plugins/result_pickle_error.py
@@ -2,8 +2,7 @@
# Copyright: Contributors to the 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
from ansible.plugins.action import ActionBase
from jinja2 import Undefined