I removed the deprecated stuff and made a minor change to the test. Since it actually loads the interpreter for the given env, the test would crash if py24 wasn't available.
As a workaround, the version of the current interpreter is used instead. I hope that's not horribly wrong. :)