Serpent
Serpent copied to clipboard
DeprecationWarning: The 'u' type code is deprecated and will be removed in Python 3.16
Testing with Python 3.14.0 raised these warnings:
=============================== warnings summary ===============================
tests/test_serpent.py::TestBasics::test_array
$(@D)/tests/test_serpent.py:554: DeprecationWarning: The 'u' type code is deprecated and will be removed in Python 3.16
ser = serpent.dumps(array.array('u', str("unicode")))
tests/test_serpent.py::TestBasics::test_array
$(@D)/tests/test_serpent.py:560: DeprecationWarning: The 'u' type code is deprecated and will be removed in Python 3.16
ser = serpent.dumps(array.array('u', "normal"))
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======== 78 passed, 2 skipped, 2 warnings ========
We still need to test this for pythons that still support it. As 3.16 is a few years away, I'm not inclined to do anything with this yet