Skip to content

Commit

Permalink
Update snapshot test for protocol type coercion bug.
Browse files Browse the repository at this point in the history
This Python protocol was doing something like module.load_labware("load_name", 8), which is a bug: the second argument is supposed to be a string display name, but what was passed was an integer, presumably copy-pasted from a protocol.load_labware() call.

Pydantic v1 was coercing the int to a str and covering up the bug. Pydantic v2 doesn't do that particular coercion, so the bug surfaces.
  • Loading branch information
SyntaxColoring committed Dec 14, 2024
1 parent 2b4863c commit 2550326
Showing 1 changed file with 35 additions and 25,908 deletions.
Loading

0 comments on commit 2550326

Please sign in to comment.