Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix locale test failing on Python 3.7 due to forced UTF-8 mode being used in the test #7412
Python 3.7 may be optionally ran in
Because this defaults to being on in POSIX environments, in CI and locally our Pants subprocess was running with this value during the test
Set the environment variable
This has no impact when being ran with Python 2.7 or Python 3.6, as Python will simply ignore that env var.