pep-0263 fix for test_validation.py