#  tests for pysam-0.23.2-py310h64e62c9_0 (this is a generated file);
print('===== testing package: pysam-0.23.2-py310h64e62c9_0 =====');
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.23.2-py310h64e62c9_0 OK =====');
