#!/usr/bin/env python
# -*- coding: utf-8 -*-

#!/usr/bin/env python
# -*- coding: utf-8 -*-


from __future__ import absolute_import

import dask_distance._pycompat


def test_irange():
    r = dask_distance._pycompat.irange(5)

    assert not isinstance(r, list)

    assert list(r) == [0, 1, 2, 3, 4]

Add a basic test for irange