(data)
| 140 | ], |
| 141 | ) |
| 142 | def test_CharacterArrayCoder_encode(data) -> None: |
| 143 | coder = strings.CharacterArrayCoder() |
| 144 | raw = Variable(("x",), data) |
| 145 | actual = coder.encode(raw) |
| 146 | expected = Variable(("x", "string2"), np.array([[b"a", b""], [b"b", b"c"]])) |
| 147 | assert_identical(actual, expected) |
| 148 | |
| 149 | |
| 150 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected
searching dependent graphs…