Skip to content

Parametrize collection pretty-printing tests#15261

Open
Carreau wants to merge 1 commit into
mainfrom
claude/todo-implementation-fswzx8
Open

Parametrize collection pretty-printing tests#15261
Carreau wants to merge 1 commit into
mainfrom
claude/todo-implementation-fswzx8

Conversation

@Carreau

@Carreau Carreau commented Jun 14, 2026

Copy link
Copy Markdown
Member

Convert the test_collections_*, test_mappingproxy and test_simplenamespace
functions in tests/test_pretty.py from manual loops over a list of cases to
pytest.mark.parametrize, resolving the longstanding 'once nose is gone' TODOs.
Cyclic/recursive objects are now built as module-level fixtures so they can be
referenced from the parametrize decorator.

Convert the test_collections_*, test_mappingproxy and test_simplenamespace
functions in tests/test_pretty.py from manual loops over a list of cases to
pytest.mark.parametrize, resolving the longstanding 'once nose is gone' TODOs.
Cyclic/recursive objects are now built as module-level fixtures so they can be
referenced from the parametrize decorator.
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