Commit 28f6b716 authored by Jacob Kaplan-Moss's avatar Jacob Kaplan-Moss
Browse files

Fixed the test from [10447] to not depend on `os.listdir()` ordering. I always...

Fixed the test from [10447] to not depend on `os.listdir()` ordering. I always forget about that one; thanks, buildbot.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10449 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent a64a61bf
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -39,7 +39,9 @@ True
...         model = FilePathModel

>>> form = FPForm()
>>> [c[1] for c in form['path'].field.choices]
>>> names = [c[1] for c in form['path'].field.choices]
>>> names.sort()
>>> names
['---------', '__init__.py', 'models.py']
"""}