Why is this ebuild reinventing python_test() using python_foreach_impl?
Seems like there is no affected version in ::gentoo any more. It got fixed by 79a660c825fc ("dev-python/bibtexparser: Port up to py3.9, fix ebuild") as far as I can tell.