New submission from Zackery Spytz <[email protected]>:
./python -m test test_ctypes
0:00:00 load avg: 1.65 Run tests sequentially
0:00:00 load avg: 1.65 [1/1] test_ctypes
/home/lubuntu2/cpython/Lib/ctypes/test/test_parameters.py:243:
DeprecationWarning: invalid escape sequence \(
self.assertRegex(repr(c_char_p.from_param(b'hihi')), "^<cparam 'z'
\(0x[A-Fa-f0-9]+\)>$")
/home/lubuntu2/cpython/Lib/ctypes/test/test_parameters.py:244:
DeprecationWarning: invalid escape sequence \(
self.assertRegex(repr(c_wchar_p.from_param('hihi')), "^<cparam 'Z'
\(0x[A-Fa-f0-9]+\)>$")
== Tests result: SUCCESS ==
1 test OK.
Total duration: 2.4 sec
Tests result: SUCCESS
These warnings were introduced in bpo-42938 /
916610ef90a0d0761f08747f7b0905541f0977c7.
----------
components: Tests, ctypes
messages: 385539
nosy: ZackerySpytz
priority: normal
severity: normal
status: open
title: DeprecationWarnings in test_ctypes
versions: Python 3.10, Python 3.8, Python 3.9
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue43011>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com