mirror of
https://github.com/django/django.git
synced 2025-10-21 12:49:11 +00:00
Refs #35844 -- Relaxed GEOSIOTest.test02_wktwriter() test assertion.
This commit is contained in:
parent
f715bc8990
commit
2d9c194d5a
@ -41,10 +41,7 @@ class GEOSIOTest(SimpleTestCase):
|
|||||||
def test02_wktwriter(self):
|
def test02_wktwriter(self):
|
||||||
# Creating a WKTWriter instance, testing its ptr property.
|
# Creating a WKTWriter instance, testing its ptr property.
|
||||||
wkt_w = WKTWriter()
|
wkt_w = WKTWriter()
|
||||||
msg = (
|
msg = "Incompatible pointer type: "
|
||||||
"Incompatible pointer type: "
|
|
||||||
"<class 'django.contrib.gis.geos.prototypes.io.LP_WKTReader_st'>."
|
|
||||||
)
|
|
||||||
with self.assertRaisesMessage(TypeError, msg):
|
with self.assertRaisesMessage(TypeError, msg):
|
||||||
wkt_w.ptr = WKTReader.ptr_type()
|
wkt_w.ptr = WKTReader.ptr_type()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user