Skip to content

Commit 9d78f65

Browse files
committed
other categorical test name fix
1 parent 045d0c7 commit 9d78f65

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/tests/test_categorical.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -3025,8 +3025,7 @@ def f(x):
30253025
c = pd.cut(df.a, bins=[0, 10, 20, 30, 40])
30263026

30273027
result = df.a.groupby(c).transform(sum)
3028-
tm.assert_series_equal(result, df['a'], check_names=False)
3029-
self.assertTrue(result.name is None)
3028+
tm.assert_series_equal(result, df['a'])
30303029

30313030
tm.assert_series_equal(
30323031
df.a.groupby(c).transform(lambda xs: np.sum(xs)), df['a'])

0 commit comments

Comments
 (0)