gh-94675: Add a regression test for rjsmin re slowdown (GH-94685)

Adds a regression test for an re slowdown observed by rjsmin.
Uses multiprocessing to kill the test after SHORT_TIMEOUT.

Co-authored-by: Oleg Iarygin <dralife@yandex.ru>
Co-authored-by: Christian Heimes <christian@python.org>
This commit is contained in:
Miro Hrončok 2022-08-04 01:19:36 +02:00 committed by GitHub
parent dc2757accd
commit fe23c0061d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 1 deletions

View file

@ -0,0 +1 @@
Add a regression test for :mod:`re` exponentional slowdown when using rjsmin.