Problem
The Pytest workflow for PR #431 fails in Python 2.7 and Python 3.8 after master was merged into v4.2.0-dev. Three assertions expect native numeric values, but Result._stringify_table_rows() intentionally normalizes every table cell to a string (introduced by #392 to keep result sorting and printing stable).
Observed mismatches:
- Equipment disk usage:
98, 81, and 100 expected; "98", "81", and "100" returned.
- FX3 switch memory:
16.0 expected; "16.0" returned.
Local reproduction at 58447b4 with Python 3.8.20: 3 failed, 7 passed across the two affected test files.
Expected fix
- Update affected expectations to strings.
- Replace the stale integer type assertion with a string assertion.
- Preserve the existing
Result normalization behavior.
- Verify the focused tests and full pytest suite.
Problem
The Pytest workflow for PR #431 fails in Python 2.7 and Python 3.8 after
masterwas merged intov4.2.0-dev. Three assertions expect native numeric values, butResult._stringify_table_rows()intentionally normalizes every table cell to a string (introduced by #392 to keep result sorting and printing stable).Observed mismatches:
98,81, and100expected;"98","81", and"100"returned.16.0expected;"16.0"returned.Local reproduction at
58447b4with Python 3.8.20:3 failed, 7 passedacross the two affected test files.Expected fix
Resultnormalization behavior.