Skip to content

stdlib alignment#368

Merged
jelmer merged 4 commits intotesting-cabal:masterfrom
stephenfin:stdlib-alignment
Nov 21, 2023
Merged

stdlib alignment#368
jelmer merged 4 commits intotesting-cabal:masterfrom
stephenfin:stdlib-alignment

Conversation

@stephenfin
Copy link
Copy Markdown
Contributor

Deprecate some legacy aliases and generally align us closer to the Python 3.12 stdlib unittest implementation.

These were removed in Python 3 and will never be present.

Signed-off-by: Stephen Finucane <stephen@that.guru>
'SkipTest' from the stdlib should be preferred for future compatibility.

Signed-off-by: Stephen Finucane <stephen@that.guru>
These were removed in Python 3.12 released in October 2023. We should
follow their lead in an attempt to keep in sync.

The implementation is based on that used in Python (before 3.12) [1].

[1] https://github.com/python/cpython/blob/3.11/Lib/unittest/case.py#L1366-L1384

Signed-off-by: Stephen Finucane <stephen@that.guru>
We also bump to tox 4, which handles pyproject.toml files by default
using its own build frontend.

Signed-off-by: Stephen Finucane <stephen@that.guru>
@jelmer jelmer merged commit ad2e490 into testing-cabal:master Nov 21, 2023
@stephenfin stephenfin deleted the stdlib-alignment branch November 21, 2023 15:55
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