Skip to content

python/sedonadb: Investigate formatting issues when using WKT as an expected value #815

@paleolimbot

Description

@paleolimbot

We might still have issues with formatting in our expected text!

Thank you for reviewing this, I really appreciate it! I tried the compact version, but it led to formatting-only failures in the Python harness, for example one of the diffs I ran into is:

E AssertionError: Expected:
E [('POLYGON Z ((0 0 5,0 1 5,1 1 5,1 0 5,0 0 5))',)]
E Got:
E [('POLYGON Z ((0 0 5, 0 1 5, 1 1 5, 1 0 5, 0 0 5))',)]

Without using ST_AsText, the failures seem to come from string formatting in the test harness rather than from ST_Normalize behavior itself.

Originally posted by @oglego in #802 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions