django-1.8 works fine with same setup as cpython does.
{{{
Traceback (most recent call last):
File "<builtin>/app_main.py", line 75, in run_toplevel
File "tests/runtests.py", line 459, in <module>
options.debug_sql, options.parallel)
File "tests/runtests.py", line 276, in django_tests
extra_tests=extra_tests,
File "/var/tmp/portage/dev-
python/django-1.9/work/Django-1.9/django/test/runner.py", line 533, in
run_tests
result = self.run_suite(suite)
File "/var/tmp/portage/dev-
python/django-1.9/work/Django-1.9/django/test/runner.py", line 494, in
run_suite
).run(suite)
File "/usr/lib64/pypy/lib-python/2.7/unittest/runner.py", line 151, in
run
test(result)
File "/usr/lib64/pypy/lib-python/2.7/unittest/suite.py", line 70, in
__call__
return self.run(*args, **kwds)
File "/var/tmp/portage/dev-
python/django-1.9/work/Django-1.9/django/test/runner.py", line 327, in run
subsuite_index, events = test_results.next(timeout=0.1)
File "/usr/lib64/pypy/lib-python/2.7/multiprocessing/pool.py", line 659,
in next
raise value
PicklingError: Can't pickle <class 'app_main.CommandLineError'>: it's not
found as app_main.CommandLineError
* ERROR: dev-python/django-1.9::gentoo failed (test phase):
* Tests fail with pypy
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25844>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
Do the tests pass if a single process is used `pypy tests/runtests.py
--settings=test_sqlite -v2 --parallel=1`?
--
Ticket URL: <https://code.djangoproject.com/ticket/25844#comment:1>
* status: new => closed
* resolution: => invalid
Comment:
Yes, this error is related to parallel test running. To see the test
failures you can use `--parallel=1` or `pip install tblib`.
There are some actual test failures once you get past the reported error
and I opened [https://groups.google.com/d/topic/django-
developers/abuS8YbVuD0/discussion a thread on the django-developers
mailing list] about it.
--
Ticket URL: <https://code.djangoproject.com/ticket/25844#comment:2>