tests/misc/non_compliant: Add tests to improve coverage testing.

This commit is contained in:
Damien George 2016-08-15 10:46:46 +10:00
parent d5f42c9daf
commit b359cf2911
2 changed files with 20 additions and 0 deletions

View File

@ -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')

View File

@ -9,3 +9,6 @@ NotImplementedError
NotImplementedError
NotImplementedError
NotImplementedError
NotImplementedError
NotImplementedError
NotImplementedError