Compare commits
12 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 34b0d9739b | |||
| 099ce80570 | |||
| 2d613bb53f | |||
| e3c5676afd | |||
| 272e7f00d4 | |||
| ba935da77b | |||
| 11a2bd0f5f | |||
| f78ac8c6ed | |||
|
|
546e8e72be | ||
|
|
4a0b2fe443 | ||
|
|
8064fd394b | ||
| 1c3ff67776 |
@@ -1,9 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
@@ -81,16 +81,7 @@ At the moment, the supported file formats for the reference files are:
|
||||
%check
|
||||
# not installed in :test multiflavor
|
||||
export PYTHONPATH="$PWD"
|
||||
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
|
||||
}
|
||||
%pytest
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
|
||||
Reference in New Issue
Block a user