summaryrefslogtreecommitdiff
path: root/tests/test_python.py
diff options
context:
space:
mode:
authorKevin Stone <kevinastone@gmail.com>2017-05-02 22:46:05 -0700
committerKevin Stone <kevinastone@gmail.com>2017-05-02 22:46:05 -0700
commited3bd801548a301071823a38ce6e19aa18e8215b (patch)
treed530a089fef3d4899cb50f7beecfb954bd0cebf4 /tests/test_python.py
parentb28b24c5ffe0274a2ac45398766213e83bf6b2d7 (diff)
downloadpygments-ed3bd801548a301071823a38ce6e19aa18e8215b.tar.gz
Fixed missing complex float case
Diffstat (limited to 'tests/test_python.py')
-rw-r--r--tests/test_python.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_python.py b/tests/test_python.py
index 6ef8169d..6445022c 100644
--- a/tests/test_python.py
+++ b/tests/test_python.py
@@ -119,6 +119,7 @@ class Python3Test(unittest.TestCase):
fragments = (
(Token.Literal.Number.Integer, u'1_000_000'),
(Token.Literal.Number.Float, u'1_000.000_001'),
+ (Token.Literal.Number.Float, u'1_000e1_000j'),
(Token.Literal.Number.Hex, u'0xCAFE_F00D'),
(Token.Literal.Number.Bin, u'0b_0011_1111_0100_1110'),
(Token.Literal.Number.Oct, u'0o_777_123'),