diff --git a/test/units/module_utils/common/validation/test_check_type_int.py b/test/units/module_utils/common/validation/test_check_type_int.py index aacbc8849bc..f07466dd184 100644 --- a/test/units/module_utils/common/validation/test_check_type_int.py +++ b/test/units/module_utils/common/validation/test_check_type_int.py @@ -31,4 +31,4 @@ def test_check_type_int_fail(): for case in test_cases: with pytest.raises(TypeError) as e: check_type_int(case) - assert 'cannot be converted to an int' in to_native(e) + assert 'cannot be converted to an int' in to_native(e)