|
|
@ -61,7 +61,7 @@ class TestCheckCompiler(TestABIBase):
|
|
|
|
def test_wrong_compiler_warning(self):
|
|
|
|
def test_wrong_compiler_warning(self):
|
|
|
|
# clear environ
|
|
|
|
# clear environ
|
|
|
|
self.del_environ()
|
|
|
|
self.del_environ()
|
|
|
|
compiler = 'nvcc' # fake wrong compiler
|
|
|
|
compiler = 'python' # fake wrong compiler
|
|
|
|
with warnings.catch_warnings(record=True) as error:
|
|
|
|
with warnings.catch_warnings(record=True) as error:
|
|
|
|
flag = utils.check_abi_compatibility(compiler, verbose=True)
|
|
|
|
flag = utils.check_abi_compatibility(compiler, verbose=True)
|
|
|
|
# check return False
|
|
|
|
# check return False
|
|
|
|