1. fiji
  2. django-3k
  3. Issues
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/models.py", 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/_doctest.py", 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/manager.py", 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