Issue #52 resolved

dates() TypeError description needs to be fixed in Py3 in modeltests.basic

Johan Harjono
created an issue



File "/home/johan/workspace/fiji/build/tests/modeltests/basic/", line ?, in modeltests.basic.models.test.API_TESTS Failed example: Article.objects.dates() Expected: Traceback (most recent call last): ... TypeError: dates() takes at least 3 arguments (1 given) Got: Traceback (most recent call last): File "/usr/local/lib/python3.1/dist-packages/django/test/", line 1307, in run compileflags, 1), test.globs) File "<doctest modeltests.basic.models.test__.API_TESTS[77]>", line 1, in <module> Article.objects.dates() File "/usr/local/lib/python3.1/dist-packages/django/db/models/", line 123, in dates return self.get_query_set().dates(args, *kwargs) TypeError: dates() takes at least 3 positional arguments (1 given)


Comments (1)

  1. Log in to comment