diff --git a/noxfile.py b/noxfile.py index 6c502cfc..d93f5bb5 100644 --- a/noxfile.py +++ b/noxfile.py @@ -190,7 +190,20 @@ def tests(session: Session) -> None: *plot_requires, ) try: - session.run("coverage", "run", "--parallel", "-m", "pytest", *session.posargs) + session.run( + "coverage", + "run", + "--parallel", + "-m", + "pytest", + *session.posargs, + env={ + "PYTHONWARNINGS": ( + "ignore:ARC4 has been moved to" + " cryptography.hazmat.decrepit.ciphers.algorithms.ARC4" + ) + }, + ) finally: if session.interactive: session.notify("coverage", posargs=[])