Skip to content

Ignore PendingDeprecationWarning from Coverage - #650

Merged
wiredfool merged 3 commits into
python-pillow:masterfrom
hugovk:ignorecoveragewarning
May 9, 2014
Merged

wiredfool merged 3 commits into
python-pillow:masterfrom
hugovk:ignorecoveragewarning

Conversation

@hugovk

@hugovk hugovk commented May 9, 2014

Copy link
Copy Markdown
Member

PendingDeprecationWarnings are coming from Coverage.py, specifically import coverage on line 348 of tester.py:

/usr/lib/python3.4/imp.py:32: PendingDeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  PendingDeprecationWarning)

https://github.com/python-imaging/Pillow/blob/master/Tests/tester.py#L348

Coverage.py, execfile.py, line 3, import imp:

https://github.com/nedbat/coveragepy/blob/master/coverage/execfile.py#L3

Let's ignore the warning from Coveralls for now so we can have Python 3.4 as a must-pass.

This resolves #592.

I've reported the warning to Coverage.py.

wiredfool added a commit that referenced this pull request May 9, 2014
Ignore PendingDeprecationWarning from Coverage for Py 3.4
@wiredfool
wiredfool merged commit 958397a into python-pillow:master May 9, 2014
@wiredfool

Copy link
Copy Markdown
Member

Thanks Hugo.

@hugovk
hugovk deleted the ignorecoveragewarning branch May 9, 2014 17:52
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.

Support Python 3.4

2 participants