-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Support Python 3 #3028
Support Python 3 #3028
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3028 +/- ##
==========================================
+ Coverage 84.15% 88.99% +4.83%
==========================================
Files 673 10 -663
Lines 36595 1145 -35450
Branches 4336 153 -4183
==========================================
- Hits 30798 1019 -29779
+ Misses 4548 85 -4463
+ Partials 1249 41 -1208 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me! Thanks!
from datadog_checks.stubs import aggregator | ||
aggregator.reset() | ||
return aggregator | ||
@pytest.fixture() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did you change this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant to put this in the PR description, basically there is a bug in requests-mock where the decorator isn't registered as a fixture for pytest, and this only impacts PY3 - pytest-dev/pytest#2749
kubelet/tests/test_cadvisor.py
Outdated
aggregator.reset() | ||
return aggregator | ||
@pytest.fixture() | ||
def m(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you name this better?
What does this PR do?
New urlparse and urljoin import, division
Motivation
Support 🐍 3️⃣
Review checklist
no-changelog
label attachedAdditional Notes
Anything else we should know when reviewing?