* [gentoo-commits] gentoo-x86 commit in dev-python/django/files: django-1.1.1-fix_tests.patch
@ 2010-01-03 1:25 Arfrever Frehtes Taifersar Arahesis (arfrever)
0 siblings, 0 replies; 2+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2010-01-03 1:25 UTC (permalink / raw
To: gentoo-commits
arfrever 10/01/03 01:25:40
Added: django-1.1.1-fix_tests.patch
Log:
Fix tests (bug #294575).
(Portage version: 15156-svn/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-python/django/files/django-1.1.1-fix_tests.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/django/files/django-1.1.1-fix_tests.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/django/files/django-1.1.1-fix_tests.patch?rev=1.1&content-type=text/plain
Index: django-1.1.1-fix_tests.patch
===================================================================
http://code.djangoproject.com/changeset/11619
http://code.djangoproject.com/changeset/11697
--- django/template/defaultfilters.py
+++ django/template/defaultfilters.py
@@ -162,7 +162,7 @@
try:
m = int(d) - d
- except (OverflowError, InvalidOperation):
+ except (ValueError, OverflowError, InvalidOperation):
return input_val
if not m and p < 0:
--- tests/regressiontests/views/tests/generic/date_based.py
+++ tests/regressiontests/views/tests/generic/date_based.py
@@ -100,7 +100,7 @@
now = datetime.now()
prev_month = now.date().replace(day=1)
- if prev_month.month == 11:
+ if prev_month.month == 1:
prev_month = prev_month.replace(year=prev_month.year-1, month=12)
else:
prev_month = prev_month.replace(month=prev_month.month-1)
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-python/django/files: django-1.1.1-fix_tests.patch
@ 2010-07-11 12:56 Arfrever Frehtes Taifersar Arahesis (arfrever)
0 siblings, 0 replies; 2+ messages in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2010-07-11 12:56 UTC (permalink / raw
To: gentoo-commits
arfrever 10/07/11 12:56:51
Removed: django-1.1.1-fix_tests.patch
Log:
Delete unused patch.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-07-11 12:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-11 12:56 [gentoo-commits] gentoo-x86 commit in dev-python/django/files: django-1.1.1-fix_tests.patch Arfrever Frehtes Taifersar Arahesis (arfrever)
-- strict thread matches above, loose matches on Subject: below --
2010-01-03 1:25 Arfrever Frehtes Taifersar Arahesis (arfrever)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox