Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

These pytests fail on both Python 2 and Python 3 #94

Open
cclauss opened this issue Jul 18, 2020 · 0 comments
Open

These pytests fail on both Python 2 and Python 3 #94

cclauss opened this issue Jul 18, 2020 · 0 comments

Comments

@cclauss
Copy link

cclauss commented Jul 18, 2020

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
@cclauss cclauss changed the title These pytests fail on Python 2 and Python 3 These pytests fail on both Python 2 and Python 3 Jul 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant