[3.9] fix typo in warning (GH-20620) (#25601)

* Add space after period to warning in _tzpath.py

Currently:
InvalidTZPathWarning: Invalid paths specified in PYTHONTZPATH environment variable.Paths should be absolute but found the following relative paths: ...

* Update _tzpath.py
(cherry picked from commit a31cf86bc2)

Co-authored-by: Allen <64019758+aboddie@users.noreply.github.com>
This commit is contained in:
Senthil Kumaran 2021-04-25 12:25:51 -07:00 committed by GitHub
parent 2825f906c7
commit d2e2534751
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,7 @@ def _parse_python_tzpath(env_var):
msg = _get_invalid_paths_message(raw_tzpath)
warnings.warn(
"Invalid paths specified in PYTHONTZPATH environment variable."
"Invalid paths specified in PYTHONTZPATH environment variable. "
+ msg,
InvalidTZPathWarning,
)