{"action":"opened","issue":{"url":"https://api.github.com/repos/joke2k/faker/issues/315","labels_url":"https://api.github.com/repos/joke2k/faker/issues/315/labels{/name}","comments_url":"https://api.github.com/repos/joke2k/faker/issues/315/comments","events_url":"https://api.github.com/repos/joke2k/faker/issues/315/events","html_url":"https://github.com/joke2k/faker/issues/315","id":123457024,"number":315,"title":"Tests fail for current release","user":{"login":"cbaines","id":1130010,"avatar_url":"https://avatars.githubusercontent.com/u/1130010?v=3","gravatar_id":"","url":"https://api.github.com/users/cbaines","html_url":"https://github.com/cbaines","followers_url":"https://api.github.com/users/cbaines/followers","following_url":"https://api.github.com/users/cbaines/following{/other_user}","gists_url":"https://api.github.com/users/cbaines/gists{/gist_id}","starred_url":"https://api.github.com/users/cbaines/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbaines/subscriptions","organizations_url":"https://api.github.com/users/cbaines/orgs","repos_url":"https://api.github.com/users/cbaines/repos","events_url":"https://api.github.com/users/cbaines/events{/privacy}","received_events_url":"https://api.github.com/users/cbaines/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-22T10:43:20Z","updated_at":"2015-12-22T10:43:20Z","closed_at":null,"body":"As of the current release (v0.5.3), the tests fail. This has been fixed in master, but it would be convenient for me to have a recent release (the tests fail on the 0.5.2 and 0.5.1 releases also) for which the tests pass.\r\n\r\nCould you make a release with these fixes included?\r\n\r\n```\r\n....E.E.....................\r\n======================================================================\r\nERROR: test_date_time_this_period (faker.tests.FactoryTestCase)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"faker/tests/__init__.py\", line 344, in test_date_time_this_period\r\n    self.assertTrue(self._datetime_to_time(provider.date_time_this_month(after_now=False)) <= self._datetime_to_time(datetime.datetime.now()))\r\n  File \"faker/providers/date_time/__init__.py\", line 439, in date_time_this_month\r\n    next_month_start = datetime(now.year, now.month + 1 % 12, 1)\r\nValueError: month must be in 1..12\r\n\r\n======================================================================\r\nERROR: test_documentor (faker.tests.FactoryTestCase)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"faker/tests/__init__.py\", line 213, in test_documentor\r\n    print_doc(output=output)\r\n  File \"faker/cli.py\", line 89, in print_doc\r\n    formatters = doc.get_formatters(with_args=True, with_defaults=True)\r\n  File \"faker/documentor.py\", line 32, in get_formatters\r\n    (provider, self.get_provider_formatters(provider, **kwargs))\r\n  File \"faker/documentor.py\", line 87, in get_provider_formatters\r\n    example = self.generator.format(name)\r\n  File \"faker/generator.py\", line 62, in format\r\n    return self.get_formatter(formatter)(*args, **kwargs)\r\n  File \"faker/providers/date_time/__init__.py\", line 439, in date_time_this_month\r\n    next_month_start = datetime(now.year, now.month + 1 % 12, 1)\r\nValueError: month must be in 1..12\r\n\r\n----------------------------------------------------------------------\r\nRan 28 tests in 0.104s\r\n\r\nFAILED (errors=2)\r\n```"}}