X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/5f9eb9e4f7baa35cb87eb3f8a9fed81f1195a72e..e7ddf524b056d2bc42ee6b2b5c3314e0dd5d95fb:/tests/data/numeric_literals.py?ds=sidebyside diff --git a/tests/data/numeric_literals.py b/tests/data/numeric_literals.py index 0d8e345..254da68 100644 --- a/tests/data/numeric_literals.py +++ b/tests/data/numeric_literals.py @@ -6,7 +6,7 @@ x = .1 x = 1. x = 1E+1 x = 1E-1 -x = 1.00000001 +x = 1.000_000_01 x = 123456789.123456789 x = 123456789.123456789E123456789 x = 123456789E123456789 @@ -24,21 +24,21 @@ x = 133333 #!/usr/bin/env python3.6 -x = 123_456_789 -x = 123_456 +x = 123456789 +x = 123456 x = 0.1 x = 1.0 x = 1e1 x = 1e-1 x = 1.000_000_01 -x = 123_456_789.123_456_789 -x = 123_456_789.123_456_789e123_456_789 -x = 123_456_789e123_456_789 -x = 123_456_789j -x = 123_456_789.123_456_789j +x = 123456789.123456789 +x = 123456789.123456789e123456789 +x = 123456789e123456789 +x = 123456789j +x = 123456789.123456789j x = 0xB1ACC x = 0b1011 x = 0o777 -x = 0.000_000_006 +x = 0.000000006 x = 10000 -x = 133_333 \ No newline at end of file +x = 133333