Removed obsolete comment from GISFunctionsTests.test_asgeojson().
This commit is contained in:
parent
2e00119e39
commit
198a0adef2
|
@ -26,7 +26,6 @@ class GISFunctionsTests(FuncTestMixin, TestCase):
|
|||
fixtures = ['initial']
|
||||
|
||||
def test_asgeojson(self):
|
||||
# Only PostGIS and SpatiaLite support GeoJSON.
|
||||
if not connection.features.has_AsGeoJSON_function:
|
||||
with self.assertRaises(NotSupportedError):
|
||||
list(Country.objects.annotate(json=functions.AsGeoJSON('mpoly')))
|
||||
|
|
Loading…
Reference in New Issue