#  tests for pysam-0.18.0-py27h2b63b3a_0_kp (this is a generated file);
print('===== testing package: pysam-0.18.0-py27h2b63b3a_0_kp =====');
print('running run_test.py');
#  --- run_test.py (begin) ---
import errno

# check simply importing works
import pysam

# check remote access capabilities are present
try:
    pysam.AlignmentFile('s3:expect_invalid_argument')
except EnvironmentError as e:
    # EPROTONOSUPPORT (Protocol not supported) would indicate no S3 capabilities
    assert e.errno == errno.EINVAL
#  --- run_test.py (end) ---

print('===== pysam-0.18.0-py27h2b63b3a_0_kp OK =====');
