1 1
from nengo.version import version_info
2

3 1
if version_info >= (2, 7, 0):
4 1
    from pytest import warns  # noqa: F401
5
else:  # pragma: no cover
6
    # https://github.com/nengo/nengo/pull/1381
7
    from nengo.utils.testing import warns  # noqa: F401

Read our documentation on viewing source code .

Loading