Commit ec7dd99d authored by Robert Bradshaw's avatar Robert Bradshaw

Test interaction of underscore literals and Cython length/sign suffixes.

parent 50e67150
...@@ -23,6 +23,8 @@ def valid_underscore_literals(): ...@@ -23,6 +23,8 @@ def valid_underscore_literals():
assert 1_00_00.5 == 10000.5 assert 1_00_00.5 == 10000.5
assert 1e1_0 == 1e10 assert 1e1_0 == 1e10
assert .1_4 == .14 assert .1_4 == .14
assert 1_0 == 1_0L == 1_0LL == 1_0UL == 1_0ULL
assert typeof(1_0ULL) == "unsigned long long"
@cython.test_assert_path_exists( @cython.test_assert_path_exists(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment