diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-07-13 09:04:19 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-07-13 09:53:09 +0200 |
commit | f0685c528d2197174335be13b6892efb5865cf52 (patch) | |
tree | dcea59c0ddaf48b903fd6009019972655f6ed7fb /dev-python/sqlalchemy/sqlalchemy-1.2.9.ebuild | |
parent | dev-python/sqlalchemy: Bump to 1.2.9 (diff) | |
download | gentoo-f0685c528d2197174335be13b6892efb5865cf52.tar.gz gentoo-f0685c528d2197174335be13b6892efb5865cf52.tar.bz2 gentoo-f0685c528d2197174335be13b6892efb5865cf52.zip |
dev-python/sqlalchemy: Clean python_test up
Remove meaningless code from python_test().
Diffstat (limited to 'dev-python/sqlalchemy/sqlalchemy-1.2.9.ebuild')
-rw-r--r-- | dev-python/sqlalchemy/sqlalchemy-1.2.9.ebuild | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/dev-python/sqlalchemy/sqlalchemy-1.2.9.ebuild b/dev-python/sqlalchemy/sqlalchemy-1.2.9.ebuild index fe9d6c4401d2..4a8b2a2bac4f 100644 --- a/dev-python/sqlalchemy/sqlalchemy-1.2.9.ebuild +++ b/dev-python/sqlalchemy/sqlalchemy-1.2.9.ebuild @@ -50,17 +50,7 @@ python_compile() { } python_test() { - # Create copies of necessary files in BUILD_DIR. - # https://bitbucket.org/zzzeek/sqlalchemy/issue/3144/ - cp -pR examples sqla_nose.py setup.cfg test "${BUILD_DIR}" || die - pushd "${BUILD_DIR}" > /dev/null || die - if [[ "${EPYTHON}" == "python3.2" ]]; then - 2to3 --no-diffs -w test || die - fi - # Recently upstream elected to make the testsuite also pytest capable - # "${PYTHON}" sqla_nose.py || die "Testsuite failed under ${EPYTHON}" - py.test --verbose test || die "Testsuite failed under ${EPYTHON}" - popd > /dev/null + pytest -vv test || die "Testsuite failed under ${EPYTHON}" } python_install_all() { |