<s> from numba import unittest_support as unittest <EOL> import gc <EOL> from os . path import dirname , join <EOL> import multiprocessing <EOL> import sys <EOL> import time <EOL> import warnings <EOL> from unittest . suite import TestSuite <EOL> from numba . testing import load_testsuite <EOL> from numba . testing import ddt <EOL> try : <EOL> import faulthandler <EOL> except ImportError : <EOL> faulthandler = None <EOL> else : <EOL> try : <EOL> faulthandler . enable ( ) <EOL> except BaseException as e : <EOL> msg = "<STR_LIT>" <EOL> warnings . warn ( msg . format ( err = e ) ) <EOL> def load_tests ( loader , tests , pattern ) : <EOL> suite = TestSuite ( ) <EOL> suite . addTests ( load_testsuite ( loader , dirname ( __file__ ) ) ) <EOL> cuda_dir = join ( dirname ( dirname ( __file__ ) ) , '<STR_LIT>' ) <EOL> suite . addTests ( loader . discover ( cuda_dir ) ) <EOL> return suite </s>
