forked from pool/python-pytest-arraydiff
Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| d51f6c810c | |||
| 520cdf702b | |||
| 54004de09e | |||
| 13cc9f0773 | |||
| b44eb55775 | |||
|
|
ef9bdbac9a | ||
|
|
e39acc8e26 | ||
|
|
af86b82910 |
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 20 12:45:21 UTC 2026 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Do not use %pytest macro for running tests as it conflicts with
|
||||||
|
internal .astropy/config
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 14 21:32:08 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Thu Dec 14 21:32:08 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -81,7 +81,16 @@ At the moment, the supported file formats for the reference files are:
|
|||||||
%check
|
%check
|
||||||
# not installed in :test multiflavor
|
# not installed in :test multiflavor
|
||||||
export PYTHONPATH="$PWD"
|
export PYTHONPATH="$PWD"
|
||||||
%pytest
|
BASEPATH=$PYTHONPATH
|
||||||
|
|
||||||
|
# Don't run the tests with %%pytest macro as it sets the
|
||||||
|
# XDG_CONFIG_HOME env variable that conflicts with the .astropy/config
|
||||||
|
# folder.
|
||||||
|
export -n XDG_CONFIG_HOME
|
||||||
|
%{python_expand #
|
||||||
|
export PYTHONPATH=${BASEPATH}:%{buildroot}%{$python_sitelib} PYTHONDONTWRITEBYTECODE=1
|
||||||
|
$python -m pytest -v
|
||||||
|
}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
|
|||||||
Reference in New Issue
Block a user