From 80e7fbff75a51d9dea8716f74d7d06fb01155704 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Thu, 24 Mar 2016 18:04:16 -0700 Subject: [PATCH] Add python3 compat boilerplate --- lib/ansible/plugins/test/mathstuff.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/plugins/test/mathstuff.py b/lib/ansible/plugins/test/mathstuff.py index 86db377d259..d641e5df864 100644 --- a/lib/ansible/plugins/test/mathstuff.py +++ b/lib/ansible/plugins/test/mathstuff.py @@ -16,6 +16,7 @@ # along with Ansible. If not, see . __metaclass__ = type +from __future__ import (absolute_import, division, print_function) def issubset(a, b): return set(a) <= set(b) @@ -23,7 +24,7 @@ def issubset(a, b): def issuperset(a, b): return set(a) >= set(b) -class TestModule(object): +class TestModule: ''' Ansible math jinja2 tests ''' def tests(self):