Control: tag -1 upstream wontfix
Control: forwarded -1 https://github.com/scour-project/scour/pull/329

Hello Marnanel,

Marnanel Thurman [2025-12-16 23:49 +0000]:
> Some of the test cases in scour return booleans. Returning non-None values 
> from
> test cases was deprecated in https://github.com/pytest-dev/pytest/issues/7337 
> ,
> so running these tests causes DeprecationWarning.

Thanks! I see you already forwarded this upstream, which unfortunately seems
rather dead 😭

> --- a/test_scour.py
> +++ b/test_scour.py
> @@ -606,6 +606,7 @@ class 
> KeepInkscapeNamespaceDeclarationsWhenKeepEditorData(unittest.TestCase):
>                  break
>          self.assertEqual(True, FoundNamespace,
>                           "Did not find Inkscape namespace declaration when 
> using --keep-editor-data")
> +        return False

This does the opposite, I figure you accidentally reversed the patch. But it's
all good, the upstream PR is correct.

This does not affect the Debian build, so I mark it as "wontfix".

Thanks!

Martin

Reply via email to