Try to fix test that fails on CI with Python 3.11 but not locally
@@ -373,7 +373,7 @@ Traceback (most recent call last):
return
if line == start:
include = True
- if include:
+ if include and line.strip('^ '):
yield line
