1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Removed @skipUnlessDBFeature silencing of nonexistent features.

This was added in 46c7707e50 but is
obsolete now that gis_tests are discovered separately. It's
error-prone to ignore mistyped names.
This commit is contained in:
Tim Graham
2025-06-19 20:53:18 -04:00
committed by Sarah Boyce
parent 8ede411a81
commit f5df7ed7e6
2 changed files with 4 additions and 8 deletions

View File

@@ -89,9 +89,9 @@ class SkippingTestCase(SimpleTestCase):
raise ValueError
self._assert_skipping(test_func, ValueError)
self._assert_skipping(test_func2, unittest.SkipTest)
self._assert_skipping(test_func2, AttributeError)
self._assert_skipping(test_func3, ValueError)
self._assert_skipping(test_func4, unittest.SkipTest)
self._assert_skipping(test_func4, AttributeError)
class SkipTestCase(SimpleTestCase):
@skipUnlessDBFeature("missing")