def test_numericalize_2(self): mf = MatchingField() arr = [['a'], ['b'], ['c']] mf.numericalize(arr)
def test_numericalize_1(self): mf = MatchingField(id=True) arr = [[1], [2], [3]] mf.numericalize(arr) self.assertEqual(arr, [[1], [2], [3]])
def test_numericalize_2(self): mf = MatchingField() arr = [['a'], ['b'], ['c']] mf.numericalize(arr)
def test_numericalize_1(self): mf = MatchingField(id=True) arr = [[1], [2], [3]] mf.numericalize(arr) self.assertEqual(arr, [[1], [2], [3]])