]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-94675: Add a regression test for rjsmin re slowdown (GH-94685)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 3 Aug 2022 23:45:19 +0000 (16:45 -0700)
committerGitHub <noreply@github.com>
Wed, 3 Aug 2022 23:45:19 +0000 (16:45 -0700)
commit1bd1e379de49363003028ea90335ee619896c9ed
tree2c638f226ced62d314b786cdeab5b16e25003ddb
parent3132318ce3577fbd8f324f8ce124dba3e209f945
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>
(cherry picked from commit fe23c0061d9c72527ad57a8c965d8161b00f500e)

Co-authored-by: Miro HronĨok <miro@hroncok.cz>
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]