diff --git a/pandas/tests/apply/test_series_apply.py b/pandas/tests/apply/test_series_apply.py index b8026d771baed..2557b1eab4029 100644 --- a/pandas/tests/apply/test_series_apply.py +++ b/pandas/tests/apply/test_series_apply.py @@ -213,7 +213,7 @@ def f(x): exp = Series(["Asia/Tokyo"] * 25, name="XX") tm.assert_series_equal(result, exp) else: - result == "Asia/Tokyo" + assert result == "Asia/Tokyo" def test_apply_categorical(by_row):