mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	Fix warning in _testembed.c (GH-13533)
This commit is contained in:
		
							parent
							
								
									608876b6b1
								
							
						
					
					
						commit
						cccc11b38e
					
				
					 1 changed files with 3 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -1231,15 +1231,13 @@ static int _audit_subinterpreter_hook(const char *event, PyObject *args, void *u
 | 
			
		|||
 | 
			
		||||
static int test_audit_subinterpreter(void)
 | 
			
		||||
{
 | 
			
		||||
    PyThreadState *ts;
 | 
			
		||||
 | 
			
		||||
    Py_IgnoreEnvironmentFlag = 0;
 | 
			
		||||
    PySys_AddAuditHook(_audit_subinterpreter_hook, NULL);
 | 
			
		||||
    _testembed_Py_Initialize();
 | 
			
		||||
 | 
			
		||||
    ts = Py_NewInterpreter();
 | 
			
		||||
    ts = Py_NewInterpreter();
 | 
			
		||||
    ts = Py_NewInterpreter();
 | 
			
		||||
    Py_NewInterpreter();
 | 
			
		||||
    Py_NewInterpreter();
 | 
			
		||||
    Py_NewInterpreter();
 | 
			
		||||
 | 
			
		||||
    Py_Finalize();
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue