Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix setting os.environ["PATH"] to a binary string (#28849)
This code would raise "TypeError: str expected, not bytes" is run using Python 3, since setting os.environ keys implictly encodes using sys.getfilesystemencoding(): https://docs.python.org/3/library/os.html#os.environ This might be dead code, or simply not exercised in wpt's CI. Spotted while preparing #28848.
- Loading branch information