| 84 | | So far only on mine: |
| 85 | | {{{ |
| 86 | | |
| 87 | | ====================================================================== |
| 88 | | ERROR: test_defer_annotation (annotations.tests.NonAggregateAnnotationTestCase) |
| 89 | | ---------------------------------------------------------------------- |
| 90 | | Traceback (most recent call last): |
| 91 | | File "/home/django/django/tests/annotations/tests.py", line 140, in test_defer_annotation |
| 92 | | with self.assertRaisesRegexp(FieldDoesNotExist, "\w has no field named u?'other_rating'"): |
| 93 | | File "/usr/lib/python3.3/unittest/case.py", line 1139, in deprecated_func |
| 94 | | DeprecationWarning, 2) |
| 95 | | DeprecationWarning: Please use assertRaisesRegex instead. |
| 96 | | |
| 97 | | ====================================================================== |
| 98 | | ERROR: test_filter_wrong_annotation (annotations.tests.NonAggregateAnnotationTestCase) |
| 99 | | ---------------------------------------------------------------------- |
| 100 | | Traceback (most recent call last): |
| 101 | | File "/home/django/django/tests/annotations/tests.py", line 78, in test_filter_wrong_annotation |
| 102 | | with self.assertRaisesRegexp(FieldError, "Cannot resolve keyword .*"): |
| 103 | | File "/usr/lib/python3.3/unittest/case.py", line 1139, in deprecated_func |
| 104 | | DeprecationWarning, 2) |
| 105 | | DeprecationWarning: Please use assertRaisesRegex instead. |
| 106 | | }}} |