]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-94675: Add a regression test for rjsmin re slowdown (GH-94685)
authorMiro Hrončok <miro@hroncok.cz>
Wed, 3 Aug 2022 23:19:36 +0000 (01:19 +0200)
committerGitHub <noreply@github.com>
Wed, 3 Aug 2022 23:19:36 +0000 (16:19 -0700)
commitfe23c0061d9c72527ad57a8c965d8161b00f500e
tree889c8cf93b1a1cae3d4414cc199d1b2263898187
parentdc2757accd8413abfc24d7acf06d8bf233d01534
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>
Lib/test/test_re.py
Misc/NEWS.d/next/Tests/2022-07-08-12-22-00.gh-issue-94675.IiTs5f.rst [new file with mode: 0644]