diff options
| author | Rami Ali <flowergrass@users.noreply.github.com> | 2017-02-07 15:55:37 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2017-02-20 16:50:34 +1100 |
| commit | 86c7507233929366ff17c9666200a33123491a8e (patch) | |
| tree | 5494a2e1b5ab454305dd658c27048bb1bab9a798 /tests/cpydiff/modules_array_deletion.py | |
| parent | 89267886cc6d3889d35e29b3273164d713ac2347 (diff) | |
tests/cpydiff: Add initial set of tests for uPy-CPython differences.
These tests are intended to fail, as they provide a programatic record of
differences between uPy and CPython. They also contain a special comment
at the start of the file which has meta-data describing the difference,
including known causes and known workarounds.
Diffstat (limited to 'tests/cpydiff/modules_array_deletion.py')
| -rw-r--r-- | tests/cpydiff/modules_array_deletion.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/cpydiff/modules_array_deletion.py b/tests/cpydiff/modules_array_deletion.py new file mode 100644 index 000000000..97f988da2 --- /dev/null +++ b/tests/cpydiff/modules_array_deletion.py @@ -0,0 +1,10 @@ +""" +categories: Modules,array +description: Array deletion not implemented +cause: Unknown +workaround: Unknown +""" +import array +a = array.array('b', (1, 2, 3)) +del a[1] +print(a) |
