diff options
author | Alessandro Gatti <a.gatti@frob.it> | 2025-01-04 15:00:28 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-01-15 07:46:09 +1100 |
commit | e73cf71a246ee456aac0f4d16167e0856846db6b (patch) | |
tree | f089418ca44e9d45b7b86bb25aef09675cea4e0c /docs/esp32/tutorial/index.rst | |
parent | 1b4c969ce0c2ed83bcf366e1b6d977df3d72a9d2 (diff) |
tests/extmod/re_sub.py: Fix test execution on Python 3.13.
This commit fixes a test failure for `extmod/re_sub.py` where the code,
whilst being correct, would not make the test pass due to a newer
Python version than expected.
On Python 3.13, running `tests/extmod/re_sub.py` would yield a
deprecation warning about `re.sub` not providing the match count as a
keyword parameter. This warning would be embedded in the expected test
result and thus the test would always fail.
Co-authored-by: stijn <stijn@ignitron.net>
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'docs/esp32/tutorial/index.rst')
0 files changed, 0 insertions, 0 deletions