diff options
| author | Tim Graham <timograham@gmail.com> | 2013-10-11 07:25:14 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-10-11 07:25:14 -0400 |
| commit | b67ab75e82ec59dd4eeca119eeaf570d7c88556c (patch) | |
| tree | 45bb072d08b4d7de7e6b76bf01fcd9bddcb43acd /django/contrib/gis/tests/layermap/tests.py | |
| parent | 695bc0d191c126a948a7cf3acc3e37d9377ebd20 (diff) | |
Fixed assorted flake8 errors.
Diffstat (limited to 'django/contrib/gis/tests/layermap/tests.py')
| -rw-r--r-- | django/contrib/gis/tests/layermap/tests.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/django/contrib/gis/tests/layermap/tests.py b/django/contrib/gis/tests/layermap/tests.py index fff3004350..c2101ba8c7 100644 --- a/django/contrib/gis/tests/layermap/tests.py +++ b/django/contrib/gis/tests/layermap/tests.py @@ -163,8 +163,10 @@ class LayerMapTest(TestCase): # Passing in invalid ForeignKey mapping parameters -- must be a dictionary # mapping for the model the ForeignKey points to. - bad_fk_map1 = copy(co_mapping); bad_fk_map1['state'] = 'name' - bad_fk_map2 = copy(co_mapping); bad_fk_map2['state'] = {'nombre' : 'State'} + bad_fk_map1 = copy(co_mapping) + bad_fk_map1['state'] = 'name' + bad_fk_map2 = copy(co_mapping) + bad_fk_map2['state'] = {'nombre' : 'State'} self.assertRaises(TypeError, LayerMapping, County, co_shp, bad_fk_map1, transform=False) self.assertRaises(LayerMapError, LayerMapping, County, co_shp, bad_fk_map2, transform=False) |
