summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_int_literal.py
Commit message (Collapse)AuthorAgeFilesLines
* Replace catch_warnings with check_warnings when it makes sense. Use ↵Florent Xicluna2010-03-311-3/+0
| | | | assertRaises context manager to simplify some tests.
* Trivial typo.Eric Smith2008-03-191-2/+2
|
* Finished backporting PEP 3127, Integer Literal Support and Syntax.Eric Smith2008-03-171-0/+191
Added 0b and 0o literals to tokenizer. Modified PyOS_strtoul to support 0b and 0o inputs. Modified PyLong_FromString to support guessing 0b and 0o inputs. Renamed test_hexoct.py to test_int_literal.py and added binary tests. Added upper and lower case 0b, 0O, and 0X tests to test_int_literal.py