1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
From: Ole Streicher <olebole@debian.org>
Date: Mon, 10 Mar 2025 16:33:24 +0100
Subject: Don't run tests that don't have data
---
astrodendro/tests/test_compute.py | 2 +-
astrodendro/tests/test_is_independent.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/astrodendro/tests/test_compute.py b/astrodendro/tests/test_compute.py
index 7f33b19..2b85146 100644
--- a/astrodendro/tests/test_compute.py
+++ b/astrodendro/tests/test_compute.py
@@ -1,6 +1,6 @@
# Licensed under an MIT open source license - see LICENSE
-from .build_benchmark import BENCHMARKS
+BENCHMARKS = {}
import numpy as np
import pytest
diff --git a/astrodendro/tests/test_is_independent.py b/astrodendro/tests/test_is_independent.py
index 94467a1..666e3b9 100644
--- a/astrodendro/tests/test_is_independent.py
+++ b/astrodendro/tests/test_is_independent.py
@@ -1,6 +1,6 @@
# These tests ensure that the ``is_independent`` function is working correctly
-from .build_benchmark import BENCHMARKS
+BENCHMARKS = {}
import pytest
import numpy as np
|