From dbc085cb44b90e4d533b6a24b7c9ca3c2c93d5e1 Mon Sep 17 00:00:00 2001 From: Harrison Houghton Date: Wed, 26 May 2021 10:59:47 -0400 Subject: [PATCH] acoustics: fix There's a bit of LaTeX math code in a comment in a test file: ``` .. math:: L = 10 \cdot \\log_{10}{\\left(\\frac{MS}{p_r^2} \\right)} ``` which of course should be `\\cdot`. I could patch it, but I think skipping deprecation warnings in tests is probably ok... (If nothing else it's easier.) --- pkgs/development/python-modules/acoustics/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/acoustics/default.nix b/pkgs/development/python-modules/acoustics/default.nix index 7b62c6791cb..b652c28c629 100644 --- a/pkgs/development/python-modules/acoustics/default.nix +++ b/pkgs/development/python-modules/acoustics/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { checkPhase = '' pushd tests - py.test ./. + py.test -Wignore::DeprecationWarning ./. popd '';