gh-74690: Make a typing test more resilient (#104691)

1 file changed