def test_stack_type_promotion(self): result = stack([1, 'b']) assert_array_equal(result, np.array([1, 'b'], dtype=object))