mirror of
https://github.com/django/django.git
synced 2025-10-19 03:39:10 +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):
|
||||
# Creating a WKTWriter instance, testing its ptr property.
|
||||
wkt_w = WKTWriter()
|
||||
msg = (
|
||||
"Incompatible pointer type: "
|
||||
"<class 'django.contrib.gis.geos.prototypes.io.LP_WKTReader_st'>."
|
||||
)
|
||||
msg = "Incompatible pointer type: "
|
||||
with self.assertRaisesMessage(TypeError, msg):
|
||||
wkt_w.ptr = WKTReader.ptr_type()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user