This repository was archived by the owner on Oct 16, 2024. It is now read-only.
This repository was archived by the owner on Oct 16, 2024. It is now read-only.
Description
Travis exposed issues related to new changes coming to python 3.7+
Traceback (most recent call last):
File "/home/travis/build/intel/bmap-tools/tests/test_filemap.py", line 163, in test
_do_test(f_image, seek, mapped, unmapped)
File "/home/travis/build/intel/bmap-tools/tests/test_filemap.py", line 122, in _do_test
_check_ranges(f_image, filemap, first_block, blocks_cnt, mapped, "mapped")
File "/home/travis/build/intel/bmap-tools/tests/test_filemap.py", line 83, in _check_ranges
for correct, check in iterator:
File "/home/travis/build/intel/bmap-tools/bmaptools/Filemap.py", line 271, in _get_ranges
start = _lseek(self._f_image, end, whence1)
File "/home/travis/build/intel/bmap-tools/bmaptools/Filemap.py", line 179, in _lseek
if err.errno == os.errno.ENXIO:
AttributeError: module 'os' has no attribute 'errno'