diff options
author | Arthur Zamarin <arthurzam@gmail.com> | 2021-07-30 20:48:31 +0300 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-08-02 10:16:58 +0200 |
commit | 06d5f232947e1e701742d983762c71847534ec2d (patch) | |
tree | 762779c07ac0e81f1383d6b22c50c3c03ffca8fc /dev-python/agate-sql | |
parent | dev-python/agate-excel: mark ALLARCHES (diff) | |
download | gentoo-06d5f232947e1e701742d983762c71847534ec2d.tar.gz gentoo-06d5f232947e1e701742d983762c71847534ec2d.tar.bz2 gentoo-06d5f232947e1e701742d983762c71847534ec2d.zip |
dev-python/agate-sql: enable py3.10
Signed-off-by: Arthur Zamarin <arthurzam@gmail.com>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/agate-sql')
-rw-r--r-- | dev-python/agate-sql/agate-sql-0.5.7.ebuild | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/dev-python/agate-sql/agate-sql-0.5.7.ebuild b/dev-python/agate-sql/agate-sql-0.5.7.ebuild index e58ff6efb206..a5527246e03d 100644 --- a/dev-python/agate-sql/agate-sql-0.5.7.ebuild +++ b/dev-python/agate-sql/agate-sql-0.5.7.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="Adds SQL read/write support to agate." @@ -42,16 +42,9 @@ python_prepare_all() { } python_test() { - local pytest_args test_name xfails - - xfails=( + local deselect=( tests/test_agatesql.py::TestSQL::test_to_sql_create_statement_with_dialects tests/test_agatesql.py::TestSQL::test_to_sql_create_statement_with_schema ) - - for test_name in "${xfails[@]}"; do - pytest_args+=(--deselect "${test_name}") - done - - epytest "${pytest_args[@]}" + epytest ${deselect[@]/#/--deselect } } |