[Django] #26924: i18n.test_extraction.IgnoredExtractorTests.test_media_static_dirs_ignored broken on OS X

16 views
Skip to first unread message

Django

unread,
Jul 21, 2016, 10:23:45 AM7/21/16
to django-...@googlegroups.com
#26924: i18n.test_extraction.IgnoredExtractorTests.test_media_static_dirs_ignored
broken on OS X
-----------------------------------+--------------------
Reporter: tobiasmcnulty | Owner: tobias
Type: Bug | Status: new
Component: Testing framework | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------
Confirmed by myself and lapilofu (Harris). Git bisect shows
https://github.com/django/django/commit/faeeb84edfebecf5a5f40df9ef816e5f1cd457c6
(ticket #26677) as the commit that broke it.
{{{
$ PYTHONPATH=.. python runtests.py
i18n.test_extraction.IgnoredExtractorTests.test_media_static_dirs_ignored
Testing against Django installed in '/Users/tobias/caktus/django/django'
with up to 4 processes
Creating test database for alias 'default'...
Creating test database for alias 'other'...
F
======================================================================
FAIL: test_media_static_dirs_ignored
(i18n.test_extraction.IgnoredExtractorTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/tobias/caktus/django/tests/i18n/test_extraction.py", line
516, in test_media_static_dirs_ignored
self.assertIn("ignoring directory media_root", out)
AssertionError: 'ignoring directory media_root' not found in 'examining
files with the extensions: .py, .html and .txt\nignoring file code.sample
in .\nignoring file javascript.js in .\nignoring file not_utf8.sample in
.\nignoring file __init__.cpython-35.pyc in ./__pycache__\nignoring file
javascript.js in ./someapp/static\nignoring file javascript_ignored.js in
./static\nignoring file comments.thtml in ./templates\nignoring file
plural.djtpl in ./templates\nignoring file template_with_error.tpl in
./templates\nprocessing file __init__.py in .\nprocessing file
ignored.html in ./ignore_dir\nprocessing file media_ignored.html in
./media_root\nprocessing file static_ignored.html in ./static\nprocessing
file empty.html in ./templates\nprocessing file ignored.html in
./templates/subdir\nprocessing file test.html in ./templates\nprocessing
file xxx_ignored.html in ./templates\nprocessing locale de\ncopying plural
forms: "Plural-Forms: nplurals=2; plural=(n != 1);\\n"\n'

----------------------------------------------------------------------
Ran 1 test in 0.084s

FAILED (failures=1)
Destroying test database for alias 'default'...
Destroying test database for alias 'other'...
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/26924>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jul 21, 2016, 11:30:53 AM7/21/16
to django-...@googlegroups.com
#26924: i18n.test_extraction.IgnoredExtractorTests.test_media_static_dirs_ignored
broken on OS X
-------------------------------------+-------------------------------------
Reporter: tobiasmcnulty | Owner:
| tobiasmcnulty
Type: Bug | Status: assigned

Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by tobiasmcnulty):

* status: new => assigned
* needs_better_patch: => 0
* needs_tests: => 0
* owner: tobias => tobiasmcnulty
* needs_docs: => 0
* has_patch: 0 => 1


Comment:

https://github.com/django/django/pull/6949

--
Ticket URL: <https://code.djangoproject.com/ticket/26924#comment:1>

Django

unread,
Jul 21, 2016, 1:07:30 PM7/21/16
to django-...@googlegroups.com
#26924: i18n.test_extraction.IgnoredExtractorTests.test_media_static_dirs_ignored
broken on OS X
-------------------------------------+-------------------------------------
Reporter: tobiasmcnulty | Owner:
| tobiasmcnulty
Type: Bug | Status: assigned
Component: | Version: master
Internationalization |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timgraham):

* component: Testing framework => Internationalization
* stage: Unreviewed => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/26924#comment:2>

Django

unread,
Jul 21, 2016, 1:54:44 PM7/21/16
to django-...@googlegroups.com
#26924: i18n.test_extraction.IgnoredExtractorTests.test_media_static_dirs_ignored
broken on OS X
-------------------------------------+-------------------------------------
Reporter: tobiasmcnulty | Owner:
| tobiasmcnulty
Type: Bug | Status: closed
Component: | Version: master
Internationalization |
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"915786785f6f4439267a513d359c501eddd88266" 9157867]:
{{{
#!CommitTicketReference repository=""
revision="915786785f6f4439267a513d359c501eddd88266"
Fixed #26924 -- Fixed i18n test failure on Mac OS X.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/26924#comment:3>

Reply all
Reply to author
Forward
0 new messages