This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients ezio.melotti, r.david.murray, serhiy.storchaka, skrah, terry.reedy
Date 2013-11-16.18:16:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384625814.7.0.146372354021.issue19535@psf.upfronthosting.co.za>
In-reply-to
Content
Patch LGTM.
I'm getting 4 additional failures on 3.4: test_asyncio test_contextlib test_email test_statistics

* test_statistics is fixed by the attached patch.
* test_email fails in Lib/email/_policybase.py:95 -- this probably deservers a separate issue.
* test_contextlib fails in Lib/test/test_contextlib.py:107 even though these tests are decorated with @support.requires_docstrings (defined in Lib/test/support/__init__.py:1716).  Even with -00 the _check_docstrings function seems to have a docstring (the exact line I used to run the tests is "./python -OO -m test -v test_contextlib").
* test_asyncio has lot of failures, and most of them look like:
  ======================================================================
  ERROR: test_call_later (test.test_asyncio.test_events.PollEventLoopTests)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/wolf/dev/py/py3k/Lib/test/test_asyncio/test_events.py", line 1315, in setUp
      super().setUp()
    File "/home/wolf/dev/py/py3k/Lib/test/test_asyncio/test_events.py", line 188, in setUp
      events.set_event_loop(None)
    File "/home/wolf/dev/py/py3k/Lib/asyncio/events.py", line 423, in set_event_loop
      get_event_loop_policy().set_event_loop(loop)
  AttributeError: 'object' object has no attribute 'set_event_loop'
Without -OO test_asyncio works fine.  I haven't investigated this further.
History
Date User Action Args
2013-11-16 18:16:54ezio.melottisetrecipients: + ezio.melotti, terry.reedy, r.david.murray, skrah, serhiy.storchaka
2013-11-16 18:16:54ezio.melottisetmessageid: <1384625814.7.0.146372354021.issue19535@psf.upfronthosting.co.za>
2013-11-16 18:16:54ezio.melottilinkissue19535 messages
2013-11-16 18:16:54ezio.melotticreate