Mercurial > hg
diff tests/test-filecache.py @ 40160:6037c49b8964
py3: use .+ instead of .* in regexp pattern
Python 3.7 changed the behavior of re.sub(). See
https://bugs.python.org/issue33585.
The new code should work on old and new Pythons.
Differential Revision: https://phab.mercurial-scm.org/D4971
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 11 Oct 2018 22:53:44 +0200 |
parents | b3ffa2faae04 |
children | 7caf632e30c3 |