[Python-Dev] Why is there to Lib/test/test_int.py?

Guido van Rossum guido at python.org
Wed Feb 13 18:19:43 CET 2008

I think most int tests are probably in test_types.py.

If you were to create test_int.py now it would probably interfere with
the renaming of test_long.py to test_int.py in the py3k branch

On Feb 13, 2008 4:12 AM, Eric Smith <eric+python-dev at trueblade.com> wrote:
> I want to add test cases for int.__format__(), and I went looking for
> Lib/test/test_int.py.  I've added tests into Lib/test/test_long.py, so I
> assumed there was an int version, but no.
> Is there any particular reason for that, and are there int tests
> elsewhere?  If not, I'll add test_int.py, but I want to make sure that's
> the right thing to do.

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-Dev mailing list