Bug#979284: imageio/plugins/ffmpeg.py: DeprecationWarning: invalid escape sequence \.

Julian Gilbey jdg at debian.org
Mon Jan 4 22:09:43 GMT 2021


Package: python3-imageio
Version: 2.4.1-3
Severity: normal

I received the following warning when running a test suite in an
unrelated package:

  /usr/lib/python3/dist-packages/imageio/plugins/ffmpeg.py:1059: DeprecationWarning: invalid escape sequence \.
    matches = re.findall(" ([0-9]+\.?[0-9]*) (tbr|fps)", line)

Presumably this line should read:
    matches = re.findall(" ([0-9]+\\.?[0-9]*) (tbr|fps)", line)
or:
    matches = re.findall(r" ([0-9]+\.?[0-9]*) (tbr|fps)", line)

Best wishes,

   Julian



More information about the debian-science-maintainers mailing list