mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
tests/misc/non_compliant: Add tests to improve coverage testing.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user