Skip to content

freezegun: Fix __exit__ and remove union return types #4491

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

Merged
merged 1 commit into from
Aug 28, 2020

Conversation

JukkaL
Copy link
Contributor

@JukkaL JukkaL commented Aug 28, 2020

These caused false positives, for example in code like this:

    with freeze_time(None) as ft:  # False positive here
        ft.tick(3)  # False positive here

These caused false positives, for example in code like this:

```
    with freeze_time(None) as ft:  # False positive here
        ft.tick(3)  # False positive here
```
@JukkaL JukkaL merged commit 5be9c91 into python:master Aug 28, 2020
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