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
 | 
					     `(#:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
         (replace 'check
 | 
					         (replace 'check
 | 
				
			||||||
           (lambda* (#:key inputs outputs #:allow-other-keys)
 | 
					           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
 | 
				
			||||||
             (add-installed-pythonpath inputs outputs)
 | 
					             (when tests?
 | 
				
			||||||
             (invoke "pytest" "-vv" "-k"
 | 
					               (add-installed-pythonpath inputs outputs)
 | 
				
			||||||
                     ;; Tries to open an outgoing connection.
 | 
					               (invoke "pytest" "-vv" "-k"
 | 
				
			||||||
                     "not test_ssl_outgoing"))))))
 | 
					                       (string-append
 | 
				
			||||||
 | 
					                        ;; Tries to open an outgoing connection.
 | 
				
			||||||
 | 
					                        "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
 | 
					    (native-inputs
 | 
				
			||||||
     (list python-pytest))
 | 
					     (list python-pytest))
 | 
				
			||||||
    (home-page "https://github.com/dabeaz/curio")
 | 
					    (home-page "https://github.com/dabeaz/curio")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue