These pytests fail on both Python 2 and Python 3
Opened this issue · 0 comments
cclauss commented
File path | Fails on Py2 | Fails on Py3 |
---|---|---|
infogami/core/dbupgrade.py | True | True |
infogami/infobase/_json.py | True | True |
infogami/infobase/bulkupload.py | True | True |
infogami/plugins/i18n/code.py | True | True |
infogami/plugins/links/db.py | True | True |
infogami/plugins/pages/code.py | True | True |
infogami/plugins/review/code.py | True | True |
infogami/plugins/review/view.py | True | True |
infogami/plugins/wikitemplates/code.py | True | True |
migration/migrate-0.4-0.5.py | True | True |
test/bug_239238.py | True | True |
#!/bin/sh
FAILING_FILES=(
infogami/core/dbupgrade.py
infogami/infobase/_json.py
infogami/infobase/bulkupload.py
infogami/plugins/i18n/code.py
infogami/plugins/links/db.py
infogami/plugins/pages/code.py
infogami/plugins/review/code.py
infogami/plugins/review/db.py
infogami/plugins/review/view.py
infogami/plugins/wikitemplates/code.py
migration/migrate-0.4-0.5.py
test/bug_239238.py
)
for FILEPATH in "${FAILING_FILES[@]}"; do
echo "<<< $FILEPATH >>>"
pytest "$FILEPATH"
pytest --doctest-modules "$FILEPATH"
done