[issue7435] Int/Long: some tests are duplicate and error messages refer to "long"

2009-12-05 Thread Mark Dickinson
Mark Dickinson added the comment: Patch applied in r76681 (I took the liberty of doing the MyLong -> MyInt and Long -> Int renames). Many thanks, flox! -- resolution: -> accepted stage: -> committed/rejected status: open -> closed ___ Python trac

[issue7435] Int/Long: some tests are duplicate and error messages refer to "long"

2009-12-05 Thread Eric Smith
Eric Smith added the comment: > Eric, this patch affects a bunch of formatting tests, particularly > in Lib/test/test_types.py; I don't know whether you're trying to > keep trunk and py3k formatting tests synchronized for ease of > maintenance. Are you? No, I've basically given up on keeping

[issue7435] Int/Long: some tests are duplicate and error messages refer to "long"

2009-12-05 Thread Mark Dickinson
Mark Dickinson added the comment: Looks fine to me. I'd probably keep MyInt rather than MyLong in Lib/test/pickletester.py, and Int rather than Long in Lib/test/test_getargs2.py, but that's just a matter of renaming. I note the major deletions in test_long; maybe the remaining tests in te

[issue7435] Int/Long: some tests are duplicate and error messages refer to "long"

2009-12-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +eric.smith, mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7435] Int/Long: some tests are duplicate and error messages refer to "long"

2009-12-04 Thread flox
Changes by flox : -- keywords: +patch Added file: http://bugs.python.org/file15449/issue7435_py3k.diff ___ Python tracker ___ ___ Pytho

[issue7435] Int/Long: some tests are duplicate and error messages refer to "long"

2009-12-04 Thread flox
New submission from flox : In python 3.x there's a single type for integer: int. The automatic conversion of the test suite has created many tests which are duplicate of each other. The attached patch removes duplication of tests, and fix the strings for these modules: Lib/random.py Lib/tes