gnu: python-seaborn: 'check' phase honors #:tests?.
* gnu/packages/python-xyz.scm (python-seaborn)[arguments]: Change 'check' phase to honor #:tests?.
This commit is contained in:
		
							parent
							
								
									ef3d60fc76
								
							
						
					
					
						commit
						c7cfe54018
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -8819,7 +8819,10 @@ SVG, EPS, PNG and terminal output.")
 | 
			
		|||
               (system (format #f "~a/bin/Xvfb :1 &" xorg-server))
 | 
			
		||||
               (setenv "DISPLAY" ":1")
 | 
			
		||||
               #t)))
 | 
			
		||||
         (replace 'check (lambda _ (invoke "pytest" "seaborn") #t)))))
 | 
			
		||||
         (replace 'check
 | 
			
		||||
           (lambda* (#:key tests? #:allow-other-keys)
 | 
			
		||||
             (when tests?
 | 
			
		||||
               (invoke "pytest" "seaborn")))))))
 | 
			
		||||
    (propagated-inputs
 | 
			
		||||
     `(("python-pandas" ,python-pandas)
 | 
			
		||||
       ("python-matplotlib" ,python-matplotlib)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue