From df5b8f65caf0f98cb01a5e920abd4f483b14e82a Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Fri, 22 Feb 2019 10:44:38 -0600 Subject: [PATCH] Don't worry with type changes, just compare strings (#52827) --- test/sanity/validate-modules/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sanity/validate-modules/main.py b/test/sanity/validate-modules/main.py index 143a93c39d6..8d0914f7003 100755 --- a/test/sanity/validate-modules/main.py +++ b/test/sanity/validate-modules/main.py @@ -1098,7 +1098,7 @@ class ModuleValidator(Validator): ) return - if existing_doc and version_added_raw != existing_doc.get('version_added'): + if existing_doc and str(version_added_raw) != str(existing_doc.get('version_added')): self.reporter.error( path=self.object_path, code=307,