diff options
| author | Claude Paroz <claude@2xlibre.net> | 2016-04-16 10:32:43 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2016-04-16 19:51:00 +0200 |
| commit | d419b0c9bdf6f3de2302974b3e20b8719ca5763e (patch) | |
| tree | fdac4a488ae0dfa2561b3a21a6c20ffae18348a2 /tests | |
| parent | 393811c67a04130fd387a502b16d85dc8aa135a2 (diff) | |
Converted property syntax of WKBWriter
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/gis_tests/geos_tests/test_io.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/gis_tests/geos_tests/test_io.py b/tests/gis_tests/geos_tests/test_io.py index 306824a4a8..e761cd61a3 100644 --- a/tests/gis_tests/geos_tests/test_io.py +++ b/tests/gis_tests/geos_tests/test_io.py @@ -101,9 +101,8 @@ class GEOSIOTest(SimpleTestCase): # Ensuring bad output dimensions are not accepted for bad_outdim in (-1, 0, 1, 4, 423, 'foo', None): - # Equivalent of `wkb_w.outdim = bad_outdim` with self.assertRaises(ValueError): - wkb_w._set_outdim(bad_outdim) + wkb_w.outdim = bad_outdim # Now setting the output dimensions to be 3 wkb_w.outdim = 3 |
