{"action":"created","issue":{"url":"https://api.github.com/repos/alex/django-filter/issues/283","labels_url":"https://api.github.com/repos/alex/django-filter/issues/283/labels{/name}","comments_url":"https://api.github.com/repos/alex/django-filter/issues/283/comments","events_url":"https://api.github.com/repos/alex/django-filter/issues/283/events","html_url":"https://github.com/alex/django-filter/issues/283","id":102686270,"number":283,"title":"tests fail version 0.11.0 debian/sid","user":{"login":"brianmay","id":112729,"avatar_url":"https://avatars.githubusercontent.com/u/112729?v=3","gravatar_id":"","url":"https://api.github.com/users/brianmay","html_url":"https://github.com/brianmay","followers_url":"https://api.github.com/users/brianmay/followers","following_url":"https://api.github.com/users/brianmay/following{/other_user}","gists_url":"https://api.github.com/users/brianmay/gists{/gist_id}","starred_url":"https://api.github.com/users/brianmay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianmay/subscriptions","organizations_url":"https://api.github.com/users/brianmay/orgs","repos_url":"https://api.github.com/users/brianmay/repos","events_url":"https://api.github.com/users/brianmay/events{/privacy}","received_events_url":"https://api.github.com/users/brianmay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-24T02:06:12Z","updated_at":"2015-08-24T06:21:20Z","closed_at":null,"body":"```\r\npython2 ./runtests.py\r\n....................................ssss...s..x.ss..x..x.....................................s..........x..................xx...................E..............u.......x........................x................s..................s....sss.........\r\n======================================================================\r\nERROR: test_filtering_uses_distinct (tests.test_filters.FilterTests)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/«PKGBUILDDIR»/tests/test_filters.py\", line 192, in test_filtering_uses_distinct\r\n    result = qs.distinct.assert_called_once()\r\n  File \"/usr/lib/python2.7/dist-packages/mock/mock.py\", line 721, in __getattr__\r\n    raise AttributeError(name)\r\nAttributeError: assert_called_once\r\n\r\n----------------------------------------------------------------------\r\nRan 245 tests in 0.386s\r\n\r\nFAILED (errors=1, skipped=13, expected failures=8, unexpected successes=1)\r\nCreating test database for alias 'default'...\r\nDestroying test database for alias 'default'...\r\n```"},"comment":{"url":"https://api.github.com/repos/alex/django-filter/issues/comments/134053967","html_url":"https://github.com/alex/django-filter/issues/283#issuecomment-134053967","issue_url":"https://api.github.com/repos/alex/django-filter/issues/283","id":134053967,"user":{"login":"brianmay","id":112729,"avatar_url":"https://avatars.githubusercontent.com/u/112729?v=3","gravatar_id":"","url":"https://api.github.com/users/brianmay","html_url":"https://github.com/brianmay","followers_url":"https://api.github.com/users/brianmay/followers","following_url":"https://api.github.com/users/brianmay/following{/other_user}","gists_url":"https://api.github.com/users/brianmay/gists{/gist_id}","starred_url":"https://api.github.com/users/brianmay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianmay/subscriptions","organizations_url":"https://api.github.com/users/brianmay/orgs","repos_url":"https://api.github.com/users/brianmay/repos","events_url":"https://api.github.com/users/brianmay/events{/privacy}","received_events_url":"https://api.github.com/users/brianmay/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T06:21:20Z","updated_at":"2015-08-24T06:21:20Z","body":"I cannot see any reference to assert_called_once in https://docs.python.org/3/library/unittest.mock.html\r\n\r\nRather I see a function called to assert_called_once_with.\r\n\r\nAm wondering if assert_called_once was an undocumented mock function that was removed in Python 3.4.3?\r\n\r\nYour tests seem to be using 3.4.2"}}