mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	Fix indentation.
This commit is contained in:
		
							parent
							
								
									25a404520d
								
							
						
					
					
						commit
						e1857d999d
					
				
					 2 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
					@ -46,10 +46,10 @@ class CAPITest(unittest.TestCase):
 | 
				
			||||||
    def test_no_FatalError_infinite_loop(self):
 | 
					    def test_no_FatalError_infinite_loop(self):
 | 
				
			||||||
        with support.suppress_crash_popup():
 | 
					        with support.suppress_crash_popup():
 | 
				
			||||||
            p = subprocess.Popen([sys.executable, "-c",
 | 
					            p = subprocess.Popen([sys.executable, "-c",
 | 
				
			||||||
                              'import _testcapi;'
 | 
					                                  'import _testcapi;'
 | 
				
			||||||
                              '_testcapi.crash_no_current_thread()'],
 | 
					                                  '_testcapi.crash_no_current_thread()'],
 | 
				
			||||||
                             stdout=subprocess.PIPE,
 | 
					                                 stdout=subprocess.PIPE,
 | 
				
			||||||
                             stderr=subprocess.PIPE)
 | 
					                                 stderr=subprocess.PIPE)
 | 
				
			||||||
        (out, err) = p.communicate()
 | 
					        (out, err) = p.communicate()
 | 
				
			||||||
        self.assertEqual(out, b'')
 | 
					        self.assertEqual(out, b'')
 | 
				
			||||||
        # This used to cause an infinite loop.
 | 
					        # This used to cause an infinite loop.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -102,7 +102,7 @@ class FaultHandlerTests(unittest.TestCase):
 | 
				
			||||||
        if other_regex:
 | 
					        if other_regex:
 | 
				
			||||||
            regex += '|' + other_regex
 | 
					            regex += '|' + other_regex
 | 
				
			||||||
        with support.suppress_crash_popup():
 | 
					        with support.suppress_crash_popup():
 | 
				
			||||||
               output, exitcode = self.get_output(code, filename)
 | 
					            output, exitcode = self.get_output(code, filename)
 | 
				
			||||||
        output = '\n'.join(output)
 | 
					        output = '\n'.join(output)
 | 
				
			||||||
        self.assertRegex(output, regex)
 | 
					        self.assertRegex(output, regex)
 | 
				
			||||||
        self.assertNotEqual(exitcode, 0)
 | 
					        self.assertNotEqual(exitcode, 0)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue