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

Add time travel for testing #626

Merged
merged 2 commits into from
Sep 21, 2022
Merged

Add time travel for testing #626

merged 2 commits into from
Sep 21, 2022

Conversation

sdispater
Copy link
Collaborator

This PR adds support for time travel. This is powered internally by time-machine.

This makes set_test_now() and test() obsolete and, as such, the y have been removed.

Note that this only works for CPython. We might support alternative Python implementations in the future.

Pull Request Check List

  • Added tests for changed code.
  • Updated documentation for changed code.

@sdispater sdispater force-pushed the feature/travel branch 2 times, most recently from bece570 to 2106d13 Compare September 19, 2022 21:13
@sdispater sdispater marked this pull request as ready for review September 19, 2022 21:32
@sdispater sdispater merged commit 7f6d069 into master Sep 21, 2022
@sdispater sdispater deleted the feature/travel branch September 21, 2022 18:27
@sdispater sdispater mentioned this pull request Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant