black/tests/data/numeric_literals_py2.py
Casper Weiss Bang 7d032fa848
Use lowercase hex numbers fixes #1692 (#1775)
* Made hex lower case

* Refactored numeric formatting section

* Redid some refactoring and removed bloat

* Removed additions from test_requirements.txt

* Primer now expects expected changes

* Undid some refactoring

* added to changelog

* Update src/black/__init__.py

Co-authored-by: Zsolt Dollenstein <zsol.zsol@gmail.com>

Co-authored-by: Zsolt Dollenstein <zsol.zsol@gmail.com>
Co-authored-by: Cooper Lees <me@cooperlees.com>
2020-11-13 07:25:17 -08:00

17 lines
176 B
Python

#!/usr/bin/env python2.7
x = 123456789L
x = 123456789l
x = 123456789
x = 0xB1aCc
# output
#!/usr/bin/env python2.7
x = 123456789L
x = 123456789L
x = 123456789
x = 0xb1acc