summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2011-10-26 15:17:43 +0000
committerCarl Meyer <carl@oddbird.net>2011-10-26 15:17:43 +0000
commit5a16b64ed29301fc7eb04405dac6ca4f58f550d2 (patch)
tree12a361728c1f4ddb348e6b66c66f2014179960e6 /docs
parent9796f69533320171bf22d769d6e4ab3f5a45aac1 (diff)
Avoid spurious failures in naturaltime tests.
Previous fix didn't cover timesince module, which naturaltime delegates to under certain conditions. Extended mock of datetime to timesince module, and switched to a fixed datetime rather than now() for testing, for more reproducible tests (failures in mock will fail fast, rather than sporadically). git-svn-id: http://code.djangoproject.com/svn/django/trunk@17038 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions