gh-92886: make test_ast pass with -O (assertions off) (GH-98058)


-O does not strip docstrings.

Automerge-Triggered-By: GH:iritkatriel
(cherry picked from commit 27ce45d8e105d0c9f9286c3cab830590d4c7cea3)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
1 file changed