-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
py/test/selenium/webdriver/common/network.py
: remove python 2 code
#14502
Conversation
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## trunk #14502 +/- ##
==========================================
- Coverage 57.67% 57.66% -0.02%
==========================================
Files 89 89
Lines 5578 5586 +8
Branches 240 245 +5
==========================================
+ Hits 3217 3221 +4
+ Misses 2121 2120 -1
- Partials 240 245 +5 ☔ View full report in Codecov by Sentry. |
Test failures seen here are unrelated to the changes in this PR. RBE Test failures:
|
User description
Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
Removes dead Python 2 code from
py/test/selenium/webdriver/common/network.py
as Python 2 support is now droppedMotivation and Context
Migrate to Python 3 from Python 2
Types of changes
Checklist
PR Type
enhancement
Description
py/test/selenium/webdriver/common/network.py
._bytes
function to only support Python 3, reflecting the project's migration to Python 3.Changes walkthrough 📝
network.py
Remove Python 2 compatibility code from network module
py/test/selenium/webdriver/common/network.py
_bytes
function to only support Python 3.