test/coredevice: Ignore jagged 2D array embedding test for now

This commit is contained in:
David Nadlinger 2020-08-10 00:22:13 +01:00
parent daf57969b2
commit c6f0c4dca4
1 changed files with 5 additions and 0 deletions

View File

@ -1,4 +1,5 @@
import numpy
import unittest
from time import sleep
from artiq.experiment import *
@ -77,6 +78,10 @@ class RoundtripTest(ExperimentCase):
self.assertArrayRoundtrip(numpy.array([[1.0, 2.0], [3.0, 4.0]]))
self.assertArrayRoundtrip(numpy.array([["a", "b"], ["c", "d"]]))
# FIXME: This should work, but currently passes as the argument is just
# synthesised as the same call to array(), instead of using the "type
# inference" result from the host NumPy implementation.
@unittest.expectedFailure
def test_array_jagged(self):
self.assertArrayRoundtrip(numpy.array([[1, 2], [3]]))