Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / mat2 / tests.patch
blob8958d937dd43548e137d427f647e5039bf20d494
1 diff --git a/tests/test_climat2.py b/tests/test_climat2.py
2 index cede642..2d5ad77 100644
3 --- a/tests/test_climat2.py
4 +++ b/tests/test_climat2.py
5 @@ -10,12 +10,7 @@ import glob
6 from libmat2 import images, parser_factory
9 -mat2_binary = ['./mat2']
11 -if 'MAT2_GLOBAL_PATH_TESTSUITE' in os.environ:
12 - # Debian runs tests after installing the package
13 - # https://0xacab.org/jvoisin/mat2/issues/16#note_153878
14 - mat2_binary = ['/usr/bin/env', 'mat2']
15 +mat2_binary = [os.environ['out'] + '/bin/mat2']
18 class TestHelp(unittest.TestCase):