diff options
author | Damien George <damien.p.george@gmail.com> | 2019-10-29 21:24:51 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-10-29 22:22:37 +1100 |
commit | aeea204e9802d6a175d94bdb03de428b5f1c74d1 (patch) | |
tree | 3d8dddf43d10a5b063df4f4ab934d347783f83a0 /tests/basics/op_error.py | |
parent | 6e9ba1cf4b0cd8e2986e9abe9a8a66c43a43c63a (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.py | 14 |
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: |