This allows including user (~/file.py) and environment variables (e.g., $HOME/file.py) in the string passed to import_file()
Changes proposed in this PR:
Standardize variable processing in import_file() to allow the user (~) and environment variables.
Legal Acknowledgement
By contributing to this software project, I agree to the following terms and conditions for my contribution:
I agree my contributions are submitted under the BSD license.
I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.
Coverage increased (+0.007%) to 62.373% when pulling 22b951d7796c84bf4d4a49bd9008ba471e251473 on import_expand_vars into 732322e4b9be17414b251dc05f1e9bf362a7c6ee on master.
Fixes: #N/A
Summary/Motivation:
This allows including user (
~/file.py
) and environment variables (e.g.,$HOME/file.py
) in the string passed toimport_file()
Changes proposed in this PR:
import_file()
to allow the user (~
) and environment variables.Legal Acknowledgement
By contributing to this software project, I agree to the following terms and conditions for my contribution: