2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-28 20:53:35 +08:00

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

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]]))