[Django] #23653: Test failures Windows 7

10 views
Skip to first unread message

Django

unread,
Oct 14, 2014, 6:32:28 AM10/14/14
to django-...@googlegroups.com
#23653: Test failures Windows 7
-----------------------------------+--------------------
Reporter: patclaffey | Owner: nobody
Type: Bug | Status: new
Component: Testing framework | Version: 1.7
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------
Running test under Windows 7 Professional Service Pack 1 and got error
Running python 2.7
{{{
======================================================================
FAIL: test_custom_logging (logging_tests.tests.SettingsCustomLoggingTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\software\git\django\tests\logging_tests\tests.py", line 449, in
test_
custom_logging
self.assertNoOutput(err)
File "D:\software\git\django\tests\admin_scripts\tests.py", line 184, in
asser
tNoOutput
self.assertEqual(len(stream), 0, "Stream should be empty: actually
contains
'%s'" % stream)
AssertionError: Stream should be empty: actually contains 'Traceback (most
recen
t call last):
File "./manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "D:\software\git\django\django\core\management\__init__.py", line
336, in
execute_from_command_line
utility.execute()
File "D:\software\git\django\django\core\management\__init__.py", line
310, in
execute
django.setup()
File "D:\software\git\django\django\__init__.py", line 22, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "D:\software\git\django\django\utils\log.py", line 87, in
configure_loggi
ng
logging_config_func(logging_settings)
File "D:\software\python\lib\logging\config.py", line 70, in fileConfig
formatters = _create_formatters(cp)
File "D:\software\python\lib\logging\config.py", line 106, in
_create_formatte
rs
flist = cp.get("formatters", "keys")
File "D:\software\python\lib\ConfigParser.py", line 607, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'formatters'
}}}

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

Django

unread,
Oct 21, 2014, 6:32:22 PM10/21/14
to django-...@googlegroups.com
#23653: Test failures Windows 7
-----------------------------------+-------------------------------------
Reporter: patclaffey | Owner: timgraham
Type: Bug | Status: assigned

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

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

* status: new => assigned
* needs_better_patch: => 0
* needs_tests: => 0
* owner: nobody => timgraham
* needs_docs: => 0
* stage: Unreviewed => Accepted


Comment:

Oops, `tempfile.NamedTemporaryFile` isn't usable on Windows.

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

Django

unread,
Oct 21, 2014, 6:32:58 PM10/21/14
to django-...@googlegroups.com
#23653: Test failures Windows 7
-----------------------------------+-------------------------------------
Reporter: patclaffey | Owner: timgraham
Type: Bug | Status: closed

Component: Testing framework | Version: 1.7
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Accepted
Has patch: 0 | 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:"494cd857c897dc4051193abc10d181fa51de4966"]:
{{{
#!CommitTicketReference repository=""
revision="494cd857c897dc4051193abc10d181fa51de4966"
Fixed #23653 -- Fixed Windows failure of a logging test added in refs
#23569.
}}}

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

Reply all
Reply to author
Forward
0 new messages