23 lines
		
	
	
		
			581 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			23 lines
		
	
	
		
			581 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| 
								 | 
							
								"""Common test support for all numpy test scripts.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								This single module should provide all the common functionality for numpy tests
							 | 
						||
| 
								 | 
							
								in a single location, so that test scripts can just import it and work right
							 | 
						||
| 
								 | 
							
								away.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								"""
							 | 
						||
| 
								 | 
							
								from unittest import TestCase
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								from . import _private, overrides
							 | 
						||
| 
								 | 
							
								from ._private import extbuild
							 | 
						||
| 
								 | 
							
								from ._private.utils import *
							 | 
						||
| 
								 | 
							
								from ._private.utils import _assert_valid_refcount, _gen_alignment_data
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								__all__ = (
							 | 
						||
| 
								 | 
							
								    _private.utils.__all__ + ['TestCase', 'overrides']
							 | 
						||
| 
								 | 
							
								)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								from numpy._pytesttester import PytestTester
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								test = PytestTester(__name__)
							 | 
						||
| 
								 | 
							
								del PytestTester
							 |