mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	gh-117645: Skip test_dynamic global specialization on WASI (#117646)
Skip test_load_global_specialization_failure_keeps_oparg() of test_dynamic on WASI build. The test uses too much stack memory.
This commit is contained in:
		
							parent
							
								
									ed785c0899
								
							
						
					
					
						commit
						ac45766673
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -4,7 +4,7 @@ import builtins
 | 
			
		|||
import sys
 | 
			
		||||
import unittest
 | 
			
		||||
 | 
			
		||||
from test.support import is_wasi, Py_DEBUG, swap_item, swap_attr
 | 
			
		||||
from test.support import is_wasi, swap_item, swap_attr
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class RebindBuiltinsTests(unittest.TestCase):
 | 
			
		||||
| 
						 | 
				
			
			@ -134,7 +134,7 @@ class RebindBuiltinsTests(unittest.TestCase):
 | 
			
		|||
 | 
			
		||||
        self.assertEqual(foo(), 7)
 | 
			
		||||
 | 
			
		||||
    @unittest.skipIf(is_wasi and Py_DEBUG, "stack depth too shallow in pydebug WASI")
 | 
			
		||||
    @unittest.skipIf(is_wasi, "stack depth too shallow in WASI")
 | 
			
		||||
    def test_load_global_specialization_failure_keeps_oparg(self):
 | 
			
		||||
        # https://github.com/python/cpython/issues/91625
 | 
			
		||||
        class MyGlobals(dict):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue