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 deprecation warnings #870

Merged
merged 2 commits into from
Sep 1, 2018
Merged

Fix deprecation warnings #870

merged 2 commits into from
Sep 1, 2018

Conversation

cgoldberg
Copy link
Member

this PR fixes 2 deprecation warnings:

  • /locust/rpc/protocol.py:15: PendingDeprecationWarning: encoding is deprecated, Use raw=False instead.

  • /locust/test/test_task_sequence_class.py:72: DeprecationWarning: Please use assertEqual instead.

@codecov
Copy link

codecov bot commented Aug 31, 2018

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #870   +/-   ##
=======================================
  Coverage   66.55%   66.55%           
=======================================
  Files          14       14           
  Lines        1438     1438           
  Branches      226      226           
=======================================
  Hits          957      957           
  Misses        430      430           
  Partials       51       51
Impacted Files Coverage Δ
locust/rpc/protocol.py 100% <100%> (ø) ⬆️

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 6701f70...c28a952. Read the comment docs.

@cgoldberg cgoldberg merged commit 70d2647 into master Sep 1, 2018
@cgoldberg cgoldberg deleted the fix_warnings branch September 1, 2018 19:58
spayeur207 pushed a commit to spayeur207/locust that referenced this pull request Sep 12, 2018
* msgpack encoding arg is deprecated, use raw=False instead

* fix assert warnings from py3 tests
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.

1 participant