You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python 3.8 includes breaking changes to the `os.path.expanduser` method,
which no longer reads from the `HOME` environment variable on Windows,
but rather uses `USERPROFILE`.
This broke the `data_ingester_test.py`, which tries to emulate platform specific
expansion by setting `os.environ["HOME"]`. To allow this test to run on both
Python 3.8 and before, this change makes the test simulate home directory
expansion by setting both environment variables.
Manually tested that the test fails before and passes after this change, with
`bazel run //tensorboard/backend/event_processing:data_ingester_test`.
Note that our Travis config does not use Python 3.8, so our CI does not validate
whether this change works.
See https://bugs.python.org/issue36264
0 commit comments