Bug#1026513: patch seems incorrect, here's a better one

FC Stegerman flx at obfusk.net
Wed Jan 4 06:53:58 GMT 2023


Hi!

The package description for python3-nose-random says:

  * uses a fixed seed so that each test run is identical
  * lets you to run the test only on a specific scenario to facilitate
    debugging

I'm not very familiar with this package, but the removal of rseed in
the patch seems to me to break those properties, since it no longer
uses a fixed seed.

The real problem seems to be that config.scenario can be _missing,
which is an object() instead of a supported seed type.

I've attached a patch that fixes the original problem -- jsondiff's
tests no longer fail -- without removing the use of rseed.

- FC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nose-random.patch
Type: text/x-diff
Size: 771 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20230104/7a98f5b8/attachment.patch>


More information about the debian-science-maintainers mailing list