dev-python/more-itertools: tests: don't load docs/conf.py
authorLouis Sautier <sbraz@gentoo.org>
Sun, 24 Jun 2018 18:28:17 +0000 (20:28 +0200)
committerLouis Sautier <sbraz@gentoo.org>
Sun, 24 Jun 2018 18:28:17 +0000 (20:28 +0200)
docs/conf.py imports sphinx_rtd_theme which isn't guaranteed to be
installed.

Bug: https://bugs.gentoo.org/659002
Package-Manager: Portage-2.3.40, Repoman-2.3.9

dev-python/more-itertools/more-itertools-4.2.0.ebuild

index 4e8145b05276673927eba6c7d8ae9b6bba2eaf4c..cb5cf84dd81c8ecdec6a396de1b382502187bcb8 100644 (file)
@@ -36,5 +36,6 @@ python_compile_all() {
 }
 
 python_test() {
-       py.test --doctest-modules || die "tests fail with ${EPYTHON}"
+       py.test --doctest-modules more_itertools \
+               || die "tests fail with ${EPYTHON}"
 }