astropy/astropy — pull request #56 by iguananaut (2011-11-07 23:42:29+00:00)
Title: Test with 2to3

Adds support for running the tests in Python 3 after they've been run through 2to3. I tried doing this through a subclass of setuptools' builtin test command as discussed in another thread, but it just wasn't working out as I'd hoped. Rather than fight with it, it was faster to keep the code mostly as it is: then adding 2to3 support was simply a matter of ensuring that 2to3 is called first, and that the tests are run out of the 2to3'd build.

As a bonus, I added a test that tests that the tests are 2to3'd :) This was necessary since none of the tests currently in master actually require 2to3.