#  tests for cudf-0.6.1-py37_0 (this is a generated file);
print('===== testing package: cudf-0.6.1-py37_0 =====');
print('running run_test.py');
#  --- run_test.py (begin) ---
import sys
import os
import pytest
from numba import cuda

if __name__ == '__main__':
    if cuda.is_available():
        exitcode = pytest.main('--pyargs cudf.tests'.split())
    else:
        print("CUDA GPU unavailable")
        exitcode = 0 if os.environ['CUDF_BUILD_NO_GPU_TEST'] else 1

    sys.exit(exitcode)
#  --- run_test.py (end) ---

print('===== cudf-0.6.1-py37_0 OK =====');
print("import: 'cudf'")
import cudf

