From 3ab6aa3a6d0506e805caa19369bef279c1c789b4 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 4 Mar 2017 00:13:27 +0300 Subject: tests/basic: Split tests into working with small ints and not working. Tests which don't work with small ints are suffixed with _intbig.py. Some of these may still work with long long ints and need to be reclassified later. --- tests/basics/slice_intbig.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/basics/slice_intbig.py (limited to 'tests/basics/slice_intbig.py') diff --git a/tests/basics/slice_intbig.py b/tests/basics/slice_intbig.py new file mode 100644 index 0000000000..cc820522b0 --- /dev/null +++ b/tests/basics/slice_intbig.py @@ -0,0 +1,5 @@ +# test slicing when arguments are bignums + +print(list(range(10))[(1<<66)>>65:]) +print(list(range(10))[:(1<<66)>>65]) +print(list(range(10))[::(1<<66)>>65]) -- cgit v1.2.3