gh-92886: Fix test in test_routines.py so that it works when running with optimizations (-O)
#93232
+0
−0