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

Fixed deprecated usage of isAlive() #377

Merged
merged 1 commit into from
Oct 9, 2019
Merged

Fixed deprecated usage of isAlive() #377

merged 1 commit into from
Oct 9, 2019

Conversation

eetu-n
Copy link

@eetu-n eetu-n commented May 14, 2019

isAlive() is deprecated, use is_alive() instead

@codecov-io
Copy link

codecov-io commented May 14, 2019

Codecov Report

Merging #377 into master will decrease coverage by 0.35%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #377      +/-   ##
==========================================
- Coverage   94.91%   94.56%   -0.36%     
==========================================
  Files           7        7              
  Lines         846      846              
==========================================
- Hits          803      800       -3     
- Misses         43       46       +3
Impacted Files Coverage Δ
httpretty/core.py 94.14% <100%> (-0.27%) ⬇️
httpretty/utils.py 85.71% <0%> (-7.15%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 91dab80...2db986a. Read the comment docs.

@damdo
Copy link

damdo commented Jul 26, 2019

@gabrielfalcao could we get this merged?

damdo added a commit to pusher/pusher-http-python that referenced this pull request Jul 26, 2019
httpretty throws:
- a PendingDeprecationWarning : httpretty/core.py:438: PendingDeprecationWarning: isAlive() is deprecated, use is_alive() instead if t.isAlive():
- a ResourceWarning : httpretty/core.py:485: ResourceWarning: unclosed file <_io.BufferedRandom name=7> self.fd = FakeSockFile()

There already are issues and PRs to fix these:
- gabrielfalcao/HTTPretty#368
- gabrielfalcao/HTTPretty#377

Until they are fixed I'm suppressing them
@kamikaz1k
Copy link

@gabrielfalcao any updates on when we can have this patch?

@gabrielfalcao
Copy link
Owner

@kamikaz1k thanks for the reminder <3

@gabrielfalcao gabrielfalcao merged commit 259a9a4 into gabrielfalcao:master Oct 9, 2019
@gabrielfalcao
Copy link
Owner

fixed and released on 0.9.7

damdo added a commit to pusher/pusher-http-python that referenced this pull request Oct 25, 2019
it bumps the httpretty version to 0.9.7, which fixes the warning on
isAlive. ref: gabrielfalcao/HTTPretty#377
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.

5 participants