Python 3 compatibility for arbitrary package and etraneous dependency tests.