summaryrefslogtreecommitdiffstats
path: root/test/units/module_utils/parsing
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/parsing
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/parsing')
-rw-r--r--test/units/module_utils/parsing/test_convert_bool.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/units/module_utils/parsing/test_convert_bool.py b/test/units/module_utils/parsing/test_convert_bool.py
index 2c5f8121f5..d0ade8bd08 100644
--- a/test/units/module_utils/parsing/test_convert_bool.py
+++ b/test/units/module_utils/parsing/test_convert_bool.py
@@ -2,9 +2,7 @@
# Copyright: (c) 2017 Ansible Project
# License: GNU General Public License v3 or later (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt )
-# Make coding more python3-ish
-from __future__ import (absolute_import, division, print_function)
-__metaclass__ = type
+from __future__ import annotations
import pytest