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

Fix tests if not TZ change allowed #893

Merged
merged 2 commits into from
Nov 2, 2019
Merged

Conversation

shadchin
Copy link
Contributor

@shadchin shadchin commented Feb 27, 2019

Summary of changes

Pull Request Checklist

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

@pganssle pganssle changed the title TST: Fix tests if not TZ change allowed Fix tests if not TZ change allowed Feb 27, 2019
@pganssle
Copy link
Member

pganssle commented Feb 27, 2019

Hm... This seems OK, but maybe we can just call pytest.skip in the TzContext object instead?

@shadchin
Copy link
Contributor Author

Done

@shadchin
Copy link
Contributor Author

Hi, this PR ok or need fix something?

@pganssle
Copy link
Member

@shadchin Nope, I have it on my to-do list to do a few nitpicky clean up things and then merge this, sorry for the delay in merging.

At the moment these tests are skipped ad-hoc in the test suite, but we
can use `pytest.skip` in the context manager itself to skip them
automatically and make things easier on ourselves.
@pganssle pganssle merged commit e31bd87 into dateutil:master Nov 2, 2019
@pganssle pganssle mentioned this pull request Nov 3, 2019
@shadchin shadchin deleted the fix_tests branch November 6, 2019 12:24
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

2 participants