1
0
mirror of https://github.com/django/django.git synced 2025-03-03 21:46:28 +00:00

3 Commits

Author SHA1 Message Date
Tim Graham
567cfc1601 [1.10.x] Replaced use of TestCase.fail() with assertRaises().
Also removed try/except/fail antipattern that hides exceptions.

Backport of c9ae09addffb839403312131d4251e9d8b454508 from master
2016-07-01 09:58:56 -04:00
Hasan
3d0dcd7f5a Refs #26022 -- Used context manager version of assertRaises in tests. 2016-01-29 12:32:18 -05:00
Tim Graham
ad0be620ae Moved contrib.gis tests out of contrib. 2015-02-11 10:29:54 -05:00