Files
9106b27fe31e09880096bf20f19c219e3a7a1934
swift /test
Tim Burke 28db9bbcdd tests: Fix test_LoggerFileObject_recursion
It used to be that when a logger encountered an error trying to handle
/ emit a message, it would attempt to log about the error via the same
logger. Long ago, this could lead to infinite recursion in Swift's
LoggerFileObject, so we fixed it and added a test that included
showing the bad stdlib behavior.
Recently, stdlib did a similar fix so the recursion doesn't happen. See
 - https://github.com/python/cpython/issues/91555 and
 - https://github.com/python/cpython/pull/131812
Of course, now our test breaks (at least, on 3.13.4). Relax the
assertion a little.
Related-Change: Ia9ecffc88ce43616977e141498e5ee404f2c29c4
Change-Id: Id2f490d4204b8eaf07857cb84ed783bec19b8511
2025年06月05日 16:33:08 -07:00
..
2025年03月06日 17:10:04 -08:00
2025年05月15日 07:40:39 +00:00
2025年05月30日 13:44:23 -07:00
2025年06月05日 16:33:08 -07:00
2025年05月15日 07:40:39 +00:00