mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	
		
			
	
	
		
			17 lines
		
	
	
	
		
			362 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			17 lines
		
	
	
	
		
			362 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| 
								 | 
							
								import unittest
							 | 
						||
| 
								 | 
							
								from test.support import import_helper
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								_testcapi = import_helper.import_module('_testcapi')
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								class TestCAPI(unittest.TestCase):
							 | 
						||
| 
								 | 
							
								    def test_immortal_builtins(self):
							 | 
						||
| 
								 | 
							
								        _testcapi.test_immortal_builtins()
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    def test_immortal_small_ints(self):
							 | 
						||
| 
								 | 
							
								        _testcapi.test_immortal_small_ints()
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								if __name__ == "__main__":
							 | 
						||
| 
								 | 
							
								    unittest.main()
							 |