mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-24 08:38:07 -07:00
dev-python/cssutils: fix tests
* Casing issue discovered for calls to Windows-1252 vs windows-1252 Suggested-by: Patrick McLean <chutzpah@gentoo.org> Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
@@ -35,6 +35,10 @@ python_prepare_all() {
|
||||
-e '/tests_require/d' \
|
||||
-i setup.py || die
|
||||
|
||||
# fix casing of call to Windows-1252. Remove when upstream fixes casing.
|
||||
sed -i -e 's/encutils.tryEncodings(test)/encutils.tryEncodings(test).lower()/' \
|
||||
src/cssutils/tests/test_encutils/__init__.py || die "fixing test_encutils failed"
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user