tests/misc/non_compliant: Add tests to improve coverage testing.
This commit is contained in:
parent
d5f42c9daf
commit
b359cf2911
|
@ -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')
|
||||
|
|
|
@ -9,3 +9,6 @@ NotImplementedError
|
|||
NotImplementedError
|
||||
NotImplementedError
|
||||
NotImplementedError
|
||||
NotImplementedError
|
||||
NotImplementedError
|
||||
NotImplementedError
|
||||
|
|
Loading…
Reference in New Issue