clean up imports

"if at first you don't succeed"?
"import it four times, just to be sure"
git blame blames python-modernize.

I get just one failing test both with and without the three extra imports so I think this is safe.