{"action":"opened","issue":{"url":"https://api.github.com/repos/jaybaird/python-bloomfilter/issues/24","repository_url":"https://api.github.com/repos/jaybaird/python-bloomfilter","labels_url":"https://api.github.com/repos/jaybaird/python-bloomfilter/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/jaybaird/python-bloomfilter/issues/24/comments","events_url":"https://api.github.com/repos/jaybaird/python-bloomfilter/issues/24/events","html_url":"https://github.com/jaybaird/python-bloomfilter/issues/24","id":161029947,"number":24,"title":"Unit-tests fail on windows","user":{"login":"jaytaylor","id":435652,"avatar_url":"https://avatars.githubusercontent.com/u/435652?v=3","gravatar_id":"","url":"https://api.github.com/users/jaytaylor","html_url":"https://github.com/jaytaylor","followers_url":"https://api.github.com/users/jaytaylor/followers","following_url":"https://api.github.com/users/jaytaylor/following{/other_user}","gists_url":"https://api.github.com/users/jaytaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/jaytaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaytaylor/subscriptions","organizations_url":"https://api.github.com/users/jaytaylor/orgs","repos_url":"https://api.github.com/users/jaytaylor/repos","events_url":"https://api.github.com/users/jaytaylor/events{/privacy}","received_events_url":"https://api.github.com/users/jaytaylor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-18T15:37:26Z","updated_at":"2016-06-18T15:37:26Z","closed_at":null,"body":"I tested on Linux and they work fine.\r\n\r\nBut on windows the bitarray library throws an exception:\r\n\r\n    ======================================================================\r\n    ERROR: test_serialization (pybloom.tests.Serialization)\r\n    ----------------------------------------------------------------------\r\n    Traceback (most recent call last):\r\n      File \"c:\\users\\taylor\\src\\python-bloomfilter\\pybloom\\tests.py\", line 92, in test_serialization\r\n        filter.tofile(f)\r\n      File \"c:\\users\\taylor\\src\\python-bloomfilter\\pybloom\\pybloom.py\", line 251, in tofile\r\n        else self.bitarray.tofile(f))\r\n    TypeError: open file expected\r\n    \r\n    ----------------------------------------------------------------------\r\n    Ran 14 tests in 0.391s\r\n    \r\n    FAILED (errors=1)\r\n\r\nEven though the file is definitely open:\r\n\r\n    <open file '<fdopen>', mode 'w+b' at 0x0000000003291420>\r\n\r\nI realize this isn't a bug in the pybloom library, but I am filing it here since the UT's do not pass on windows."}}
{"actor":{"display_login":"jaytaylor"}}