py/test/selenium/webdriver/common/network.py: remove python 2 code#14502
py/test/selenium/webdriver/common/network.py: remove python 2 code#14502harsha509 merged 14 commits intoSeleniumHQ:trunkfrom
py/test/selenium/webdriver/common/network.py: remove python 2 code#14502Conversation
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:
|
…eleniumHQ#14502) * java/cookie: escape cookie values when required * add xss escaping * Fix formatting * use string builder * py/test/webdriver/network.py: remove python 2 code * remove java code * restore --------- Co-authored-by: Puja Jagani <[email protected]> Co-authored-by: Sri Harsha <[email protected]>
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.pyas 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._bytesfunction to only support Python 3, reflecting the project's migration to Python 3.Changes walkthrough 📝
network.py
Remove Python 2 compatibility code from network modulepy/test/selenium/webdriver/common/network.py
_bytesfunction to only support Python 3.