]> granicus.if.org Git - python/commit
Fixed three exceptions in the Plain integers test, although I'm not
authorBarry Warsaw <barry@python.org>
Thu, 29 Aug 2002 13:09:47 +0000 (13:09 +0000)
committerBarry Warsaw <barry@python.org>
Thu, 29 Aug 2002 13:09:47 +0000 (13:09 +0000)
commit18bd11205d5a477e9be9cd70a3cbcc7eeae6fc9b
treee292938a720cda161e07771bb10bdf85db241d3b
parentc6f80fd9951a1eb8899ca202c3c039a9a6f1fedf
Fixed three exceptions in the Plain integers test, although I'm not
sure these are the best fixes.

- Test maxint-1 against the negative octal constant -020000000000

- Comment out the tests for oct -1 and hex -1, since 037777777777 and
  0xffffffff raise FutureWarnings now and in Python 2.4 those
  constants will produce positive values, not negative values.  So the
  existing test seems to test something that won't be true in 2.4.
Lib/test/test_grammar.py