mirror of
				https://github.com/psycopg/psycopg2.git
				synced 2025-11-04 01:37:31 +03:00 
			
		
		
		
	Don't force a valid return code for the test
Windows returns 22, Linux returns 1
This commit is contained in:
		
							parent
							
								
									602c74faa6
								
							
						
					
					
						commit
						7ae2cb5cd0
					
				| 
						 | 
					@ -1568,7 +1568,7 @@ while True:
 | 
				
			||||||
        proc = sp.Popen([sys.executable, '-c', script_to_py3(script)],
 | 
					        proc = sp.Popen([sys.executable, '-c', script_to_py3(script)],
 | 
				
			||||||
            stdout=sp.PIPE, stderr=sp.PIPE)
 | 
					            stdout=sp.PIPE, stderr=sp.PIPE)
 | 
				
			||||||
        (out, err) = proc.communicate()
 | 
					        (out, err) = proc.communicate()
 | 
				
			||||||
        self.assertEqual(1, proc.returncode)
 | 
					        self.assertNotEqual(proc.returncode, 0)
 | 
				
			||||||
        self.assert_(not err, err)
 | 
					        self.assert_(not err, err)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user