Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate away from unittest and adopt pytest #978

Merged
merged 1 commit into from Jul 5, 2021

Conversation

jpurviance
Copy link
Member

@jpurviance jpurviance commented Nov 18, 2019

Summary of changes

Closes #976

Pull Request Checklist

  • Changes have tests
  • Authors have been added to AUTHORS.md
  • News fragment added in changelog.d. See CONTRIBUTING.md for details

@jbrockmendel
Copy link
Contributor

Appveyor fail looks unrelated. LGTM.

@pganssle
Copy link
Member

@jpurviance Can you rebase this and the other PRs against master? I've fixed the Appveyor issue in #982.

Copy link
Member

@pganssle pganssle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The content looks good to me, though I'd prefer if the commit message were cleaner.

I skimmed this article and it seems to roughly correspond to my preferred Git style.

I think you'll need to rebase after #990 anyway, so if you don't mind also adjusting the commit message to something like, "Migrate from unittest to pytest for test_utils".

At some point we should probably have a section on a good commit message and clean commit histories in the CONTRIBUTING.rst, since historically I've just manually adjusted the commit histories to my liking as part of the merge.

Copy link
Member

@pganssle pganssle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, one other note - this should have a changelog, changelog.d/978.misc.rst.

It's not a public-facing change, but I like to mention this stuff in the changelogs for distro maintainers.

Part of a series of commit that is moving the suite.
@mariocj89 mariocj89 changed the title migrate away from unittest and adopt pytest for test_utils.py Migrate away from unittest and adopt pytest Jul 5, 2021
@mariocj89 mariocj89 self-assigned this Jul 5, 2021
@mariocj89 mariocj89 dismissed pganssle’s stale review July 5, 2021 14:19

Added changelog item.

@mariocj89 mariocj89 merged commit 9a05ba4 into dateutil:master Jul 5, 2021
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.

None yet

4 participants