diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-05-29 13:23:52 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-05-29 13:23:52 +0000 |
| commit | 78ab2ffaa3c007ab6868a141be142b66c605ea49 (patch) | |
| tree | 87873690c8aa323b34e1264dfd45a1191eb26d42 /dev-python/elementpath | |
| parent | 4ac9d95b9cabcb380254e7c7f1060a3c281c83a3 (diff) | |
| download | baldeagleos-repo-78ab2ffaa3c007ab6868a141be142b66c605ea49.tar.gz baldeagleos-repo-78ab2ffaa3c007ab6868a141be142b66c605ea49.tar.xz baldeagleos-repo-78ab2ffaa3c007ab6868a141be142b66c605ea49.zip | |
Adding metadata
Diffstat (limited to 'dev-python/elementpath')
| -rw-r--r-- | dev-python/elementpath/elementpath-4.1.2.ebuild | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/dev-python/elementpath/elementpath-4.1.2.ebuild b/dev-python/elementpath/elementpath-4.1.2.ebuild index 76956a781094..fd833df739ec 100644 --- a/dev-python/elementpath/elementpath-4.1.2.ebuild +++ b/dev-python/elementpath/elementpath-4.1.2.ebuild @@ -25,10 +25,23 @@ BDEPEND=" ) " -distutils_enable_tests unittest +distutils_enable_tests pytest src_prepare() { # fails for some reason, more fit for upstream testing anyway rm tests/test_typing.py || die distutils-r1_src_prepare } + +python_test() { + local EPYTEST_DESELECT=() + if [[ ${EPYTHON} == python3.12 ]]; then + EPYTEST_DESELECT+=( + # sometimes fails with precision problems + # https://github.com/sissaschool/elementpath/issues/66 + tests/test_xpath1_parser.py::LxmlXPath1ParserTest::test_sum_function + ) + fi + + epytest +} |
