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 logger deprecation warnings #160

Merged

Conversation

pakoun
Copy link

@pakoun pakoun commented Oct 30, 2018

warn() is deprecated and needs to be substituted with warning().
This commit fixes this issue. Hope this helps to resolve part of #159. If you want anything to be changed I would be happy to update and resubmit this pull request.

`warn()` is deprecated and needs to be substituted with `warning()`.
This commit fixes this issue.
@MatthieuDartiailh
Copy link
Member

Thanks ! This is going in the right direction, but I would like to fix the broken test before merging. Hopefully it won't take too long.

Replacing getargspec by getfullargspec fix the issue and does not require any other change.
Also consolidate tests, and prevent the use of too many file descriptors to allow the tests to run on OSX.
@MatthieuDartiailh
Copy link
Member

I took the liberty to push changes fixing the broken test and the other warning from pytest. I will merge once Travis comes back green.

@codecov
Copy link

codecov bot commented Nov 6, 2018

Codecov Report

Merging #160 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #160   +/-   ##
=======================================
  Coverage   98.38%   98.38%           
=======================================
  Files         157      157           
  Lines       12335    12335           
=======================================
  Hits        12136    12136           
  Misses        199      199

@MatthieuDartiailh
Copy link
Member

Closes #159

@MatthieuDartiailh MatthieuDartiailh merged commit 67fd1d1 into Exopy:master Nov 6, 2018
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