mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add python3 compat boilerplate
This commit is contained in:
parent
17e8500202
commit
80e7fbff75
1 changed files with 2 additions and 1 deletions
|
@ -16,6 +16,7 @@
|
||||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
from __future__ import (absolute_import, division, print_function)
|
||||||
|
|
||||||
def issubset(a, b):
|
def issubset(a, b):
|
||||||
return set(a) <= set(b)
|
return set(a) <= set(b)
|
||||||
|
@ -23,7 +24,7 @@ def issubset(a, b):
|
||||||
def issuperset(a, b):
|
def issuperset(a, b):
|
||||||
return set(a) >= set(b)
|
return set(a) >= set(b)
|
||||||
|
|
||||||
class TestModule(object):
|
class TestModule:
|
||||||
''' Ansible math jinja2 tests '''
|
''' Ansible math jinja2 tests '''
|
||||||
|
|
||||||
def tests(self):
|
def tests(self):
|
||||||
|
|
Loading…
Reference in a new issue