{"action":"created","issue":{"url":"https://api.github.com/repos/numpy/numpy/issues/8176","repository_url":"https://api.github.com/repos/numpy/numpy","labels_url":"https://api.github.com/repos/numpy/numpy/issues/8176/labels{/name}","comments_url":"https://api.github.com/repos/numpy/numpy/issues/8176/comments","events_url":"https://api.github.com/repos/numpy/numpy/issues/8176/events","html_url":"https://github.com/numpy/numpy/issues/8176","id":183848472,"number":8176,"title":"Test failures on Python 3.6.0b2","user":{"login":"charris","id":77272,"avatar_url":"https://avatars.githubusercontent.com/u/77272?v=3","gravatar_id":"","url":"https://api.github.com/users/charris","html_url":"https://github.com/charris","followers_url":"https://api.github.com/users/charris/followers","following_url":"https://api.github.com/users/charris/following{/other_user}","gists_url":"https://api.github.com/users/charris/gists{/gist_id}","starred_url":"https://api.github.com/users/charris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charris/subscriptions","organizations_url":"https://api.github.com/users/charris/orgs","repos_url":"https://api.github.com/users/charris/repos","events_url":"https://api.github.com/users/charris/events{/privacy}","received_events_url":"https://api.github.com/users/charris/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/numpy/numpy/labels/05%20-%20Testing","name":"05 - Testing","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-19T02:08:49Z","updated_at":"2016-10-19T08:56:52Z","closed_at":null,"body":"They seem to result from nesting `warnings.catch_warnings` and `suppress_warnings`. The problem is new in 3.6 and may be either be a Python bug, or something we are doing in `suppress_warnings` that we shouldn't.\r\n```\r\nFAIL: test_deprecations.TestComparisonDeprecations.test_array_richcompare_legacy_weirdness\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/charris/.local/lib/python3.6/site-packages/nose-1.3.6-py3.6.egg/nose/case.py\", line 197, in runTest\r\n    self.test(*self.arg)\r\n  File \"/home/charris/Workspace/numpy.git/build/testenv/lib/python3.6/site-packages/numpy/core/tests/test_deprecations.py\", line 371, in test_array_richcompare_legacy_weirdness\r\n    assert_warns(FutureWarning, lambda: np.arange(2) == \"a\")\r\n  File \"/home/charris/Workspace/numpy.git/build/testenv/lib/python3.6/site-packages/numpy/testing/utils.py\", line 1723, in assert_warns\r\n    return func(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.6/contextlib.py\", line 89, in __exit__\r\n    next(self.gen)\r\n  File \"/home/charris/Workspace/numpy.git/build/testenv/lib/python3.6/site-packages/numpy/testing/utils.py\", line 1680, in _assert_warns_context\r\n    raise AssertionError(\"No warning raised\" + name_str)\r\nAssertionError: No warning raised when calling <lambda>\r\n\r\n======================================================================\r\nFAIL: test_deprecations.TestComparisonDeprecations.test_none_comparison\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/charris/.local/lib/python3.6/site-packages/nose-1.3.6-py3.6.egg/nose/case.py\", line 197, in runTest\r\n    self.test(*self.arg)\r\n  File \"/home/charris/Workspace/numpy.git/build/testenv/lib/python3.6/site-packages/numpy/core/tests/test_deprecations.py\", line 315, in test_none_comparison\r\n    assert_warns(FutureWarning, operator.eq, np.arange(3), None)\r\n  File \"/home/charris/Workspace/numpy.git/build/testenv/lib/python3.6/site-packages/numpy/testing/utils.py\", line 1723, in assert_warns\r\n    return func(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.6/contextlib.py\", line 89, in __exit__\r\n    next(self.gen)\r\n  File \"/home/charris/Workspace/numpy.git/build/testenv/lib/python3.6/site-packages/numpy/testing/utils.py\", line 1680, in _assert_warns_context\r\n    raise AssertionError(\"No warning raised\" + name_str)\r\nAssertionError: No warning raised when calling eq\r\n\r\n======================================================================\r\nFAIL: test_deprecations.TestComparisonDeprecations.test_void_dtype_equality_failures\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/charris/.local/lib/python3.6/site-packages/nose-1.3.6-py3.6.egg/nose/case.py\", line 197, in runTest\r\n    self.test(*self.arg)\r\n  File \"/home/charris/Workspace/numpy.git/build/testenv/lib/python3.6/site-packages/numpy/core/tests/test_deprecations.py\", line 359, in test_void_dtype_equality_failures\r\n    assert_warns(FutureWarning, lambda: struct1 == 1)\r\n  File \"/home/charris/Workspace/numpy.git/build/testenv/lib/python3.6/site-packages/numpy/testing/utils.py\", line 1723, in assert_warns\r\n    return func(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.6/contextlib.py\", line 89, in __exit__\r\n    next(self.gen)\r\n  File \"/home/charris/Workspace/numpy.git/build/testenv/lib/python3.6/site-packages/numpy/testing/utils.py\", line 1680, in _assert_warns_context\r\n    raise AssertionError(\"No warning raised\" + name_str)\r\nAssertionError: No warning raised when calling <lambda>\r\n\r\n======================================================================\r\nFAIL: test_deprecations.TestIdentityComparisonDeprecations.test_identity_equality_mismatch\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/charris/.local/lib/python3.6/site-packages/nose-1.3.6-py3.6.egg/nose/case.py\", line 197, in runTest\r\n    self.test(*self.arg)\r\n  File \"/home/charris/Workspace/numpy.git/build/testenv/lib/python3.6/site-packages/numpy/core/tests/test_deprecations.py\", line 415, in test_identity_equality_mismatch\r\n    assert_warns(FutureWarning, np.equal, a, a)\r\n  File \"/home/charris/Workspace/numpy.git/build/testenv/lib/python3.6/site-packages/numpy/testing/utils.py\", line 1723, in assert_warns\r\n    return func(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.6/contextlib.py\", line 89, in __exit__\r\n    next(self.gen)\r\n  File \"/home/charris/Workspace/numpy.git/build/testenv/lib/python3.6/site-packages/numpy/testing/utils.py\", line 1680, in _assert_warns_context\r\n    raise AssertionError(\"No warning raised\" + name_str)\r\nAssertionError: No warning raised when calling equal\r\n\r\n======================================================================\r\nFAIL: test_deprecations.TestRankDeprecation.test\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/charris/.local/lib/python3.6/site-packages/nose-1.3.6-py3.6.egg/nose/case.py\", line 197, in runTest\r\n    self.test(*self.arg)\r\n  File \"/home/charris/Workspace/numpy.git/build/testenv/lib/python3.6/site-packages/numpy/core/tests/test_deprecations.py\", line 272, in test\r\n    assert_warns(np.VisibleDeprecationWarning, np.rank, a)\r\n  File \"/home/charris/Workspace/numpy.git/build/testenv/lib/python3.6/site-packages/numpy/testing/utils.py\", line 1723, in assert_warns\r\n    return func(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.6/contextlib.py\", line 89, in __exit__\r\n    next(self.gen)\r\n  File \"/home/charris/Workspace/numpy.git/build/testenv/lib/python3.6/site-packages/numpy/testing/utils.py\", line 1680, in _assert_warns_context\r\n    raise AssertionError(\"No warning raised\" + name_str)\r\nAssertionError: No warning raised when calling rank\r\n\r\n======================================================================\r\nFAIL: test_utils.test_suppress_warnings_decorate_no_record\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/charris/.local/lib/python3.6/site-packages/nose-1.3.6-py3.6.egg/nose/case.py\", line 197, in runTest\r\n    self.test(*self.arg)\r\n  File \"/home/charris/Workspace/numpy.git/build/testenv/lib/python3.6/site-packages/numpy/testing/tests/test_utils.py\", line 945, in test_suppress_warnings_decorate_no_record\r\n    assert_(len(w) == 1)\r\n  File \"/home/charris/Workspace/numpy.git/build/testenv/lib/python3.6/site-packages/numpy/testing/utils.py\", line 90, in assert_\r\n    raise AssertionError(smsg)\r\nAssertionError\r\n\r\n----------------------------------------------------------------------\r\n```"},"comment":{"url":"https://api.github.com/repos/numpy/numpy/issues/comments/254754374","html_url":"https://github.com/numpy/numpy/issues/8176#issuecomment-254754374","issue_url":"https://api.github.com/repos/numpy/numpy/issues/8176","id":254754374,"user":{"login":"seberg","id":61977,"avatar_url":"https://avatars.githubusercontent.com/u/61977?v=3","gravatar_id":"","url":"https://api.github.com/users/seberg","html_url":"https://github.com/seberg","followers_url":"https://api.github.com/users/seberg/followers","following_url":"https://api.github.com/users/seberg/following{/other_user}","gists_url":"https://api.github.com/users/seberg/gists{/gist_id}","starred_url":"https://api.github.com/users/seberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seberg/subscriptions","organizations_url":"https://api.github.com/users/seberg/orgs","repos_url":"https://api.github.com/users/seberg/repos","events_url":"https://api.github.com/users/seberg/events{/privacy}","received_events_url":"https://api.github.com/users/seberg/received_events","type":"User","site_admin":false},"created_at":"2016-10-19T08:56:52Z","updated_at":"2016-10-19T08:56:52Z","body":"Nope, thats not it."}}
{"actor":{"display_login":"seberg"}}