[PATCH 1/2] Add a __init__.py to fix up an error when running iutil_test.py.
Jiří Konečný
jkonecny at redhat.com
Mon Jun 8 07:18:09 UTC 2015
On Fri, 2015-06-05 at 15:25 -0400, Chris Lumens wrote:
> This fixes the following error message:
>
> =====================================================================
> =
> ERROR: Failure: SystemError (Parent module '' not loaded, cannot
> perform relative import)
> ---------------------------------------------------------------------
> -
> Traceback (most recent call last):
> ...
> File "/home/jenkins/workspace/anaconda
> -master/label/breaker/tests/pyanaconda_tests/iutil_test.py", line 28,
> in <module>
> from .test_constants import ANACONDA_TEST_DIR
> SystemError: Parent module '' not loaded, cannot perform relative
> import
> ---
> tests/pyanaconda_tests/__init__.py | 0
> 1 file changed, 0 insertions(+), 0 deletions(-)
> create mode 100644 tests/pyanaconda_tests/__init__.py
>
> diff --git a/tests/pyanaconda_tests/__init__.py
> b/tests/pyanaconda_tests/__init__.py
> new file mode 100644
> index 0000000..e69de29
Seems ok to me. Ack.
More information about the anaconda-patches
mailing list