summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/op_error.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basics/op_error.py')
-rw-r--r--tests/basics/op_error.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/basics/op_error.py b/tests/basics/op_error.py
index 19ce04bc52..b30b5f0a35 100644
--- a/tests/basics/op_error.py
+++ b/tests/basics/op_error.py
@@ -20,11 +20,9 @@ test_exc("False in True", TypeError)
test_exc("1 * {}", TypeError)
test_exc("1 in 1", TypeError)
test_exc("bytearray() // 2", TypeError)
-test_exc("m = memoryview(bytearray())\nm += bytearray()", TypeError)
# object with buffer protocol needed on rhs
test_exc("bytearray(1) + 1", TypeError)
-test_exc("(1 << 70) in 1", TypeError)
# unsupported subscription
test_exc("1[0]", TypeError)