(index_or_series_obj)
| 23 | |
| 24 | |
| 25 | def test_numpy_transpose(index_or_series_obj): |
| 26 | msg = "the 'axes' parameter is not supported" |
| 27 | obj = index_or_series_obj |
| 28 | tm.assert_equal(np.transpose(obj), obj) |
| 29 | |
| 30 | with pytest.raises(ValueError, match=msg): |
| 31 | np.transpose(obj, axes=1) |
| 32 | |
| 33 | |
| 34 | @pytest.mark.parametrize( |