Re: [pypy-dev] Testing pypy

2011-08-12 Thread Amaury Forgeot d'Arc
2011/8/10 Seung Soo, > Anyway I'd like to know if there is any single way to test both > python and pypy(2.7), where the results should be the same. I routinely run tests like this: pypy -m test.regrtest -v test_pickle -- Amaury Forgeot d'Arc ___ p

Re: [pypy-dev] Testing pypy

2011-08-10 Thread Chris Lambacher
Hi Seung, Are you talking about the interpreter tests or tests for your own packages? If you want to run tests, I think the latest versions of Tox support PyPy. You can have it run tests against multiple versions of python: http://tox.testrun.org/en/latest/ -Chris On Wed, Aug 10, 2011 at 7:49

Re: [pypy-dev] Testing pypy

2011-08-10 Thread Armin Rigo
Hi Seung, On Wed, Aug 10, 2011 at 11:35 AM, Seung Soo, wrote: > Anyway I'd like to know if there is any single way to test both > python and pypy(2.7), where the results should be the same. We use our own custom runner, which you run differently than CPython's. Well, you can also try running "p

Re: [pypy-dev] Testing pypy

2011-08-10 Thread Seung Soo , Ha
Armin Rigo tunes.org> writes: > > Hi, > But PyPy behaves like Python 2.7. I don't know if you are reading the > docs for Python 3.x, but it doesn't work this way in Python 2.7 > either. > > A bientôt, > > Armin. > Sorry. I was reading the 3.x docs. Anyway I'd like to know if there is any

Re: [pypy-dev] Testing pypy

2011-08-10 Thread Armin Rigo
Hi, On Wed, Aug 10, 2011 at 9:16 AM, Seung Soo, wrote: >  No module named test.__main__; 'test' is a package and cannot be directly > executed > > (without a new line at the end!) (I fixed the missing new line.) But PyPy behaves like Python 2.7. I don't know if you are reading the docs for Pyt