fixed the pyflakes test