gnu: python-curio: Disable newly failing 'test_timeout' test.
* gnu/packages/python-xyz.scm (python-prettytable)
[phases]{check}: Honor TESTS? and skip the 'test_timeout' test.
			
			
This commit is contained in:
		
							parent
							
								
									0557f78150
								
							
						
					
					
						commit
						0be45b28a9
					
				
					 1 changed files with 10 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -11022,11 +11022,16 @@ printing of sub-tables by specifying a row range.")
 | 
			
		|||
     `(#:phases
 | 
			
		||||
       (modify-phases %standard-phases
 | 
			
		||||
         (replace 'check
 | 
			
		||||
           (lambda* (#:key inputs outputs #:allow-other-keys)
 | 
			
		||||
           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
 | 
			
		||||
             (when tests?
 | 
			
		||||
               (add-installed-pythonpath inputs outputs)
 | 
			
		||||
               (invoke "pytest" "-vv" "-k"
 | 
			
		||||
                       (string-append
 | 
			
		||||
                        ;; Tries to open an outgoing connection.
 | 
			
		||||
                     "not test_ssl_outgoing"))))))
 | 
			
		||||
                        "not test_ssl_outgoing "
 | 
			
		||||
                        ;; This test fails since Python 3.9.9 (see:
 | 
			
		||||
                        ;; https://github.com/dabeaz/curio/issues/347).
 | 
			
		||||
                        "and not test_timeout"))))))))
 | 
			
		||||
    (native-inputs
 | 
			
		||||
     (list python-pytest))
 | 
			
		||||
    (home-page "https://github.com/dabeaz/curio")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue