diff options
Diffstat (limited to 'tests/misc/non_compliant.py')
-rw-r--r-- | tests/misc/non_compliant.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/misc/non_compliant.py b/tests/misc/non_compliant.py index c760c2accd..ba2dd15c6a 100644 --- a/tests/misc/non_compliant.py +++ b/tests/misc/non_compliant.py @@ -70,3 +70,20 @@ try: except NotImplementedError: print('NotImplementedError') +# tuple load with step!=1 not implemented +try: + ()[2:3:4] +except NotImplementedError: + print('NotImplementedError') + +# list store with step!=1 not implemented +try: + [][2:3:4] = [] +except NotImplementedError: + print('NotImplementedError') + +# list delete with step!=1 not implemented +try: + del [][2:3:4] +except NotImplementedError: + print('NotImplementedError') |