XanaduAI / thewalrus

A library for the calculation of hafnians, Hermite polynomials and Gaussian boson sampling.
https://the-walrus.readthedocs.io
Apache License 2.0
99 stars 54 forks source link

Tests fail to run: error: unrecognized arguments: --randomly-seed=137 #344

Closed yurivict closed 2 years ago

yurivict commented 2 years ago

Before posting a bug report

Expected behavior

n/a

Actual behavior

make test fails:

make[1]: Entering directory '/disk-samsung/freebsd-ports/science/py-thewalrus/work-py38/thewalrus-0.19.0'
python3 -m pytest --randomly-seed=137 thewalrus
ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]
__main__.py: error: unrecognized arguments: --randomly-seed=137
  inifile: None
  rootdir: /disk-samsung/freebsd-ports/science/py-thewalrus/work-py38/thewalrus-0.19.0

gmake[1]: *** [Makefile:50: test] Error 4

Reproduces how often

always

System information

pytest-7.1.2
FreeBSD 13.1

Source code

No response

Tracebacks

No response

Additional information

No response

yurivict commented 2 years ago

Sorry, pytest-randomly was missing.