diff --git a/test/__init__.py b/test/__init__.py index 2f020e7b..989934b9 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -2,6 +2,11 @@ # Licensed under the terms of BSD 2-Clause, see LICENSE for details. import pytest +import os +import sys + +# Use 'our' version of the module. +sys.path.insert(0, os.path.abspath('src')) # Enable introspection on assertions in testenv pytest.register_assert_rewrite('test.testenv')