Removed obsolete comment from GISFunctionsTests.test_asgeojson().

This commit is contained in:
Mariusz Felisiak 2019-06-12 09:04:53 +02:00
parent 2e00119e39
commit 198a0adef2
1 changed files with 0 additions and 1 deletions

View File

@ -26,7 +26,6 @@ class GISFunctionsTests(FuncTestMixin, TestCase):
fixtures = ['initial'] fixtures = ['initial']
def test_asgeojson(self): def test_asgeojson(self):
# Only PostGIS and SpatiaLite support GeoJSON.
if not connection.features.has_AsGeoJSON_function: if not connection.features.has_AsGeoJSON_function:
with self.assertRaises(NotSupportedError): with self.assertRaises(NotSupportedError):
list(Country.objects.annotate(json=functions.AsGeoJSON('mpoly'))) list(Country.objects.annotate(json=functions.AsGeoJSON('mpoly')))