mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Add test
This commit is contained in:
1 parent
9a717a319a
commit
eecebef0e0
1 file changed
+3
@@ -1,4 +1,5 @@
|
||||
from testutils import assert_raises
|
||||
import sys
|
||||
|
||||
a = []
|
||||
assert a[:] == []
|
||||
@@ -129,3 +130,5 @@ def test_all_slices():
|
||||
|
||||
|
||||
test_all_slices()
|
||||
|
||||
assert_raises(IndexError, lambda: b[::0], _msg='bytearray index out of range')
|
||||
Reference in new issue
Block a user