From eaf67d1e62ffb55eefb92bb91d8d88e56d7cbef0 Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 3 Feb 2020 15:02:40 +1100 Subject: Bug [#2139]. Add test case for compound decorator. This is before-fix and demonstrates the issue. Remove the .new file as that is a temporary. --- lexilla/test/examples/python/x.py.styled | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lexilla/test/examples/python/x.py.styled') diff --git a/lexilla/test/examples/python/x.py.styled b/lexilla/test/examples/python/x.py.styled index 02f94a923..8ba7513c8 100644 --- a/lexilla/test/examples/python/x.py.styled +++ b/lexilla/test/examples/python/x.py.styled @@ -9,3 +9,11 @@ {5}else{10}:{0} {11}d{0} {10}={0} {11}d{0} {10}+{0} {3}" "{0} {5}return{0} {11}d{0} + +{5}import{0} {11}contextlib{0} + +{15}@contextlib{10}.{11}contextmanager{0} +{5}def{0} {9}singleuse{10}():{0} + {5}print{10}({3}"Before"{10}){0} + {5}yield{0} +{5}with{0} {11}singleuse{10}():{0} {5}pass{0} -- cgit v1.2.3