removed unnecessary py3k compat
added pyflakes test