Last active
October 19, 2015 13:51
-
-
Save pitrou/6c8c2152ba1a38abeca6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# tests for numba-0.21.0-np17py27_363 (this is a generated file) | |
from __future__ import absolute_import, division, print_function | |
import sys | |
import subprocess | |
from distutils.spawn import find_executable | |
import shlex | |
def call_args(string): | |
args = shlex.split(string) | |
arg0 = args[0] | |
args[0] = find_executable(arg0) | |
if not args[0]: | |
sys.exit("Command not found: '%s'" % arg0) | |
try: | |
subprocess.check_call(args) | |
except subprocess.CalledProcessError: | |
sys.exit('Error: command failed: %s' % ' '.join(args)) | |
# --- end header | |
print('===== testing package: numba-0.21.0-np17py27_363 =====') | |
print('running run_test.py') | |
# --- run_test.py (begin) --- | |
from __future__ import print_function | |
import sys | |
import numba | |
import os | |
import pprint | |
import warnings | |
pprint.pprint(os.environ) | |
print() | |
pprint.pprint(sys.flags) | |
print() | |
pprint.pprint(sys.warnoptions) | |
print() | |
pprint.pprint(warnings.filters) | |
print() | |
pprint.pprint(warnings.once_registry) | |
if sys.platform.startswith('win32'): | |
sys.argv += ['-b', '-f'] | |
else: | |
sys.argv += ['-m', '-b'] | |
if not numba.test(): | |
print("Test failed") | |
sys.exit(1) | |
print('numba.__version__: %s' % numba.__version__) | |
# --- run_test.py (end) --- | |
print('===== numba-0.21.0-np17py27_363 OK =====') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment