Closed dpasichnyi closed 4 years ago
There were 3 deprecation warnings while running tests against Py36:
yamale/validators/tests/test_validate.py:40 /Users/dpasichnyi/ttam/Yamale/yamale/validators/tests/test_validate.py:40: DeprecationWarning: invalid escape sequence \s v = val.Regex('[a-z0-9]{3,}s\s$', ignore_case=True) yamale/validators/tests/test_validate.py:47 /Users/dpasichnyi/ttam/Yamale/yamale/validators/tests/test_validate.py:47: DeprecationWarning: invalid escape sequence \d v = val.Regex('A.+\d$', ignore_case=False, multiline=True) yamale/validators/tests/test_validate.py:51 /Users/dpasichnyi/ttam/Yamale/yamale/validators/tests/test_validate.py:51: DeprecationWarning: invalid escape sequence \. v = val.Regex('.*^Ye.*s\.', ignore_case=True, multiline=True, dotall=True)
Fixed them by using raw string for regular expressions.
There were 3 deprecation warnings while running tests against Py36:
Fixed them by using raw string for regular expressions.