mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed E128 flake8 warnings in tests/.
This commit is contained in:
@@ -15,13 +15,16 @@ from django.test import TestCase, override_settings, skipUnlessDBFeature
|
||||
from django.utils._os import upath
|
||||
|
||||
if HAS_GEOS and HAS_GDAL:
|
||||
from django.contrib.gis.utils.layermapping import (LayerMapping,
|
||||
LayerMapError, InvalidDecimal, InvalidString, MissingForeignKey)
|
||||
from django.contrib.gis.utils.layermapping import (
|
||||
LayerMapping, LayerMapError, InvalidDecimal, InvalidString,
|
||||
MissingForeignKey,
|
||||
)
|
||||
from django.contrib.gis.gdal import DataSource
|
||||
|
||||
from .models import (
|
||||
City, County, CountyFeat, Interstate, ICity1, ICity2, Invalid, State,
|
||||
city_mapping, co_mapping, cofeat_mapping, inter_mapping)
|
||||
city_mapping, co_mapping, cofeat_mapping, inter_mapping,
|
||||
)
|
||||
|
||||
|
||||
shp_path = os.path.realpath(os.path.join(os.path.dirname(upath(__file__)), os.pardir, 'data'))
|
||||
|
||||
Reference in New Issue
Block a user