diff --git a/ansible_testing/modules.py b/ansible_testing/modules.py index 7e8a546d3f..cc68e5df80 100644 --- a/ansible_testing/modules.py +++ b/ansible_testing/modules.py @@ -335,7 +335,7 @@ class ModuleValidator(Validator): return try: - version_added = StrictVersion(doc.get('version_added', '0.0')) + version_added = StrictVersion(str(doc.get('version_added', '0.0'))) except ValueError: self.errors.append('version_added is not a valid version ' 'number: %s' % version_added)