It fixes below test failure:
-- snip --
ImportError while importing test module 
'/usr/lib64/python-cryptography/ptest/tests/test_x509.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_x509.py:17: in <module>
    import pytz
E   ImportError: No module named pytz
-- snip --

Signed-off-by: Jagadeesh Krishnanjanappa <[email protected]>
---
 meta-python/recipes-devtools/python/python-cryptography.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-python/recipes-devtools/python/python-cryptography.inc 
b/meta-python/recipes-devtools/python/python-cryptography.inc
index 4be7907..13d2ba8 100644
--- a/meta-python/recipes-devtools/python/python-cryptography.inc
+++ b/meta-python/recipes-devtools/python/python-cryptography.inc
@@ -39,6 +39,7 @@ RDEPENDS_${PN}-ptest += " \
     ${PYTHON_PN}-iso8601 \
     ${PYTHON_PN}-pretend \
     ${PYTHON_PN}-pytest \
+    ${PYTHON_PN}-pytz \
 "
 
 inherit ptest
-- 
2.7.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to