Skip to content

test: simplify tests to use temp_dir fixture for temporary directories - #307

Merged
shaypal5 merged 3 commits into
masterfrom
tests/temp_dir
Oct 3, 2025
Merged

shaypal5 merged 3 commits into
masterfrom
tests/temp_dir

Conversation

@Borda

@Borda Borda commented Oct 3, 2025 •

Copy link
Copy Markdown
Contributor

This pull request refactors several test functions in tests/test_pickle_core.py to use the temp_dir fixture for temporary directory management, instead of creating temporary directories within each test. This change improves test consistency and leverages pytest's fixture system for better resource handling.

@Borda
Borda requested a review from shaypal5 as a code owner October 3, 2025 09:22
@shaypal5

shaypal5 commented Oct 3, 2025

Copy link
Copy Markdown
Member

Awesome work, man!

This branch was previously deployed

1 inactive deployment
test — b2891ba6 Deployed Oct 3, 2025 by Borda via pytester (3.11, ubuntu-latest, local) #509
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: tests Test suite, fixtures, coverage, or local test scripts. outcome: merged Merged into the repository. size: small Small PR by changed-file count. source: human Opened directly by a human contributor. testing and development type: refactor Internal restructuring without intended behavior change. type: tests Tests, fixtures, test coverage, or test data.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants