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 wrong type annotations for "env" it's a dict not a string #10072

Merged
merged 1 commit into from Nov 22, 2021

Conversation

jedie
Copy link
Contributor

@jedie jedie commented Nov 22, 2021

env used here:

self.env = env or os.environ
and passed to subprocess here:
self.process = subprocess.Popen(cmd, env=self.env,

@CLAassistant
Copy link

CLAassistant commented Nov 22, 2021

CLA assistant check
All committers have signed the CLA.

jedie added a commit to jedie/django-tools that referenced this pull request Nov 22, 2021
In #21 i found a bug in chrome driver:
https://bugs.chromium.org/p/chromedriver/issues/detail?id=3358

Add a work-a-round for this, by set LANG/LANGUAGE environment variables.
btw. `env` argument has a wrong type annotation in upstream, see:
SeleniumHQ/selenium#10072
jedie added a commit to jedie/django-tools that referenced this pull request Nov 22, 2021
In #21 i found a bug in chrome driver:
https://bugs.chromium.org/p/chromedriver/issues/detail?id=3358

Add a work-a-round for this, by set LANG/LANGUAGE environment variables.
btw. `env` argument has a wrong type annotation in upstream, see:
SeleniumHQ/selenium#10072
jedie added a commit to jedie/django-tools that referenced this pull request Nov 22, 2021
In #21 i found a bug in chrome driver:
https://bugs.chromium.org/p/chromedriver/issues/detail?id=3358

Add a work-a-round for this, by set LANG/LANGUAGE environment variables.
btw. `env` argument has a wrong type annotation in upstream, see:
SeleniumHQ/selenium#10072
jedie added a commit to jedie/django-tools that referenced this pull request Nov 22, 2021
In #21 i found a bug in chrome driver:
https://bugs.chromium.org/p/chromedriver/issues/detail?id=3358

Add a work-a-round for this, by set LANG/LANGUAGE environment variables.
btw. `env` argument has a wrong type annotation in upstream, see:
SeleniumHQ/selenium#10072
jedie added a commit to jedie/django-tools that referenced this pull request Nov 22, 2021
In #21 i found a bug in chrome driver:
https://bugs.chromium.org/p/chromedriver/issues/detail?id=3358

Add a work-a-round for this, by set LANG/LANGUAGE environment variables.
btw. `env` argument has a wrong type annotation in upstream, see:
SeleniumHQ/selenium#10072
jedie added a commit to jedie/django-tools that referenced this pull request Nov 22, 2021
In #21 i found a bug in chrome driver:
https://bugs.chromium.org/p/chromedriver/issues/detail?id=3358

Add a work-a-round for this, by set LANG/LANGUAGE environment variables.
btw. `env` argument has a wrong type annotation in upstream, see:
SeleniumHQ/selenium#10072
@AutomatedTester
Copy link
Member

Thanks for the PR!

@AutomatedTester AutomatedTester merged commit 5e2fd23 into SeleniumHQ:trunk Nov 22, 2021
@sonarcloud
Copy link

sonarcloud bot commented Nov 22, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

elgatov pushed a commit to elgatov/selenium that referenced this pull request Jun 27, 2022
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.

None yet

3 participants