On Sun, Jul 13, 2008 at 11:50 PM, Russell Keith-Magee <
[EMAIL PROTECTED]> wrote:

>
> On Mon, Jul 14, 2008 at 10:55 AM, Matt Wilson <[EMAIL PROTECTED]> wrote:
> >
> > I'm trying to figure out if I'm running the tests incorrectly, or if
> > there are really are failed tests in the revision.
>
> I'm not seeing any failure in my checkout of [7920].
>

The tests run for me as well on r7920.


>
> Looking at the failures you are getting, it looks like you might not
> have a completely clean checkout. At least some of the failures appear
> to be due to the recently added python 2.3 compatibility
> implementation of sorted(), and the tests of that function.
>

Speaking of 2.3 compatibility, the tests don't run for me on 2.3 (which I
just installed for testing purposes).  I get:

D:\u\kmt\django\trunk\tests>d:\bin\Python2.3.5\python.exe runtests.py
--settings=testsettings
Traceback (most recent call last):
  File "runtests.py", line 183, in ?
    django_tests(int(options.verbosity), options.interactive, args)
  File "runtests.py", line 153, in django_tests
    failures = run_tests(test_labels, verbosity=verbosity,
interactive=interactive, extra_tests=extra_tests)
  File "d:\u\kmt\django\trunk\django\test\simple.py", line 136, in run_tests
    suite.addTest(build_suite(app))
  File "d:\u\kmt\django\trunk\django\test\simple.py", line 59, in
build_suite
    test_module = get_tests(app_module)
  File "d:\u\kmt\django\trunk\django\test\simple.py", line 17, in get_tests
    test_module = __import__('.'.join(app_path + [TEST_MODULE]), {}, {},
TEST_MODULE)
  File "D:\u\kmt\django\trunk\tests\regressiontests\admin_scripts\tests.py",
line 56
    cmd += ''.join(' %s' % arg for arg in args)
                                 ^
SyntaxError: invalid syntax

(the caret points to the 'r' in 'for' in fixed-pitch font)

Same django checkout works if I just use python 2.5.1 instead.  Is this new
syntax not supported by 2.3?

Karen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to