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

CLN:Fix Key Error thrown by os.environ in test/test_repo_template/setup.py file #1144

Closed
dorothykiz1 opened this issue Mar 14, 2022 · 1 comment

Comments

@dorothykiz1
Copy link
Contributor

dorothykiz1 commented Mar 14, 2022

Changing the formart() function to PY3 fstrings f.write(f'env = {os.environ}') throws a key error .E KeyError: 'os' .
We need to be specific on the key we want to return from this particular output that has environment variables.

@dorothykiz1 dorothykiz1 changed the title CLN: Solve .format() error on test/test_repo_template/setup.py CLN:Need to Return of environment variables in test/test_repo_template/setup.py Mar 16, 2022
@dorothykiz1 dorothykiz1 reopened this Mar 16, 2022
@dorothykiz1 dorothykiz1 changed the title CLN:Need to Return of environment variables in test/test_repo_template/setup.py CLN:Fix Key Error thrown by os.environ in test/test_repo_template/setup.py. Mar 16, 2022
@dorothykiz1 dorothykiz1 changed the title CLN:Fix Key Error thrown by os.environ in test/test_repo_template/setup.py. CLN:Fix Key Error thrown by os.environ in test/test_repo_template/setup.py file Mar 16, 2022
@datapythonista
Copy link
Member

Fixed in #1160

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

No branches or pull requests

2 participants