Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372641 - dev-python/pypy-1.5: src_test() incompatible with Python 3
Summary: dev-python/pypy-1.5: src_test() incompatible with Python 3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Dirkjan Ochtman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-22 23:35 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2011-06-24 09:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-06-22 23:35:44 UTC
src_test() would fail when Python 3 is set as main active version of Python.
Probably the following will help:
src_test() {
    $(PYTHON -2) pypy/test_all.py --pypy=pypy-c lib-python
}
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2011-06-24 09:22:06 UTC
I have fixed this as suggested.