Update to support python 3.7+ changes · Issue #34 · intel/bmap-tools · GitHub
Skip to content
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.

Update to support python 3.7+ changes #34

Description

@kad

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'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions