This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, master has been updated
via cd5a6e419e945a1cd9b56f5df705d383a3b69b4c (commit)
from 34d2ca5bc8ccb61bb263c05d16fe7bf53a27dae2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/python/osmo-python-tests/commit/?id=cd5a6e419e945a1…
commit cd5a6e419e945a1cd9b56f5df705d383a3b69b4c
Author: Max <msuraev(a)sysmocom.de>
Date: Sun Jan 14 18:27:31 2018 +0100
Fix absolute import issue in py3
As of 577f2a95e4f01c58a0a4f4ccb3b70d9c048b626e in osmo-ci, the
contrib/jenkins.sh isused forinstallation. This causes the issue with
python3 because test coded use absolute import by default.
Fix this by adding relative path and import from ../osmopy to make
sure test code uses the current module and not the one which might be
already installed in the system.
Change-Id: I8ac3c0d45fb2e1d18646048703ac405be1c7e539
-----------------------------------------------------------------------
Summary of changes:
osmopy/__init__.py | 2 +-
tests/test_py3.py | 7 ++++++-
2 files changed, 7 insertions(+), 2 deletions(-)
hooks/post-receive
--
UNNAMED PROJECT