Skip to content

[Golden Tests]: Fix Failures with example-syntax-error #97

Closed
@BethanyG

Description

@BethanyG

The example-syntax-error suite of golden tests are currently failing CI for really subtle reasons. Suspect that there is an OS/Python mis-match that's changing a few spaces or line numbers or \n characters. Multiple attempts to re-generate haven't succeeded.

Things to try:

  • Ensure that the env used to produce the tests is locked at Python 3.8 or 3.9
  • Ensure that the env used to produce the tests is locked at Python 7.0.1
  • Do a manual diff of the new golden vs the old golden to see if there are hanging spaces or other subtle changes causing failure
  • Re-work the "bad code" to throw a more predictable syntax error across different Python versions/Pytest versions.

This is one file, but "explodes" into 7 tests with the matrix of options. Other tests appear to be fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions