[PATCH 1/2] Add a __init__.py to fix up an error when running iutil_test.py.
Chris Lumens
clumens at redhat.com
Fri Jun 5 19:25:28 UTC 2015
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
--
2.2.2
More information about the anaconda-patches
mailing list