summaryrefslogtreecommitdiff
path: root/tests/basics/op_error.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-10-29 21:24:51 +1100
committerDamien George <damien.p.george@gmail.com>2019-10-29 22:22:37 +1100
commitaeea204e9802d6a175d94bdb03de428b5f1c74d1 (patch)
tree3d8dddf43d10a5b063df4f4ab934d347783f83a0 /tests/basics/op_error.py
parent6e9ba1cf4b0cd8e2986e9abe9a8a66c43a43c63a (diff)
tests/basics: Split out specific bytearray tests to separate files.
So they can be automatically skipped if bytearray is not enabled.
Diffstat (limited to 'tests/basics/op_error.py')
-rw-r--r--tests/basics/op_error.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/basics/op_error.py b/tests/basics/op_error.py
index 7b4f896e1..63c35db3f 100644
--- a/tests/basics/op_error.py
+++ b/tests/basics/op_error.py
@@ -13,10 +13,6 @@ try:
~[]
except TypeError:
print('TypeError')
-try:
- ~bytearray()
-except TypeError:
- print('TypeError')
# unsupported binary operators
try:
@@ -31,16 +27,6 @@ try:
1 in 1
except TypeError:
print('TypeError')
-try:
- bytearray() // 2
-except TypeError:
- print('TypeError')
-
-# object with buffer protocol needed on rhs
-try:
- bytearray(1) + 1
-except TypeError:
- print('TypeError')
# unsupported subscription
try: