forked from pool/python-pytest-arraydiff
		
	This commit is contained in:
		
				
					committed by
					
						
						Git OBS Bridge
					
				
			
			
				
	
			
			
			
						parent
						
							4a0b2fe443
						
					
				
				
					commit
					546e8e72be
				
			@@ -41,7 +41,6 @@ Requires:       python-pytest
 | 
			
		||||
Requires:       python-six
 | 
			
		||||
BuildArch:      noarch
 | 
			
		||||
%if %{with test}
 | 
			
		||||
BuildRequires:  %{python_module astropy}
 | 
			
		||||
BuildRequires:  %{python_module numpy}
 | 
			
		||||
BuildRequires:  %{python_module pytest}
 | 
			
		||||
BuildRequires:  %{python_module six}
 | 
			
		||||
@@ -78,7 +77,8 @@ At the moment, the supported file formats for the reference files are:
 | 
			
		||||
 | 
			
		||||
%if %{with test}
 | 
			
		||||
%check
 | 
			
		||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
 | 
			
		||||
# generate, default_format, test_fails, test_succeeds_func_fits_hdu tests need astropy that is python3 only, so skip
 | 
			
		||||
%pytest -k 'not (test_generate or test_default_format or test_fails or test_succeeds_func_fits_hdu)'
 | 
			
		||||
%endif
 | 
			
		||||
 | 
			
		||||
%if !%{with test}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user