summaryrefslogtreecommitdiff
path: root/tests/basics/bytearray_add.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-08-25 18:18:57 +0100
committerDamien George <damien.p.george@gmail.com>2015-08-29 23:13:28 +0100
commit1d350b8ac6c65bd53115bfdc7511e4028f3c69ac (patch)
treeb4f06dceff7101c8cacdb9e81b0fa30eca4f1735 /tests/basics/bytearray_add.py
parenta488c266c34f70ab6bff86b1f31f1d1a343ab1b8 (diff)
tests: Add a few tests for bool, bytearray, float to improve coverage.
Diffstat (limited to 'tests/basics/bytearray_add.py')
-rw-r--r--tests/basics/bytearray_add.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/basics/bytearray_add.py b/tests/basics/bytearray_add.py
index 21a386c6e..a7e2b5737 100644
--- a/tests/basics/bytearray_add.py
+++ b/tests/basics/bytearray_add.py
@@ -12,3 +12,7 @@ print(b)
# extend
b.extend(bytearray(4))
print(b)
+
+# this inplace add tests the code when the buffer doesn't need to be increased
+b = bytearray()
+b += b''