Skip to content

Fix: Preserve actual dataframe indices in unit test output#4969

Merged
themisvaltinos merged 1 commit intomainfrom
themis/tests
Jul 15, 2025
Merged

Fix: Preserve actual dataframe indices in unit test output#4969
themisvaltinos merged 1 commit intomainfrom
themis/tests

Conversation

@themisvaltinos
Copy link
Copy Markdown
Collaborator

This fixes a bug where unit test output displayed row numbers starting from 0 instead of the actual DataFrame index, making it harder to trace the source of test mismatches. To preserve them moved away from the use of enumerate in df_to_table which ignored the original index to zip with df.index. The updated tests show the expected behaviour.

@themisvaltinos themisvaltinos merged commit ed8b404 into main Jul 15, 2025
27 checks passed
@themisvaltinos themisvaltinos deleted the themis/tests branch July 15, 2025 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants