We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76cc6b7 commit 2f6b254Copy full SHA for 2f6b254
iOS/testbed/iOSTestbedTests/iOSTestbedTests.m
@@ -24,8 +24,11 @@ - (void)testPython {
24
25
NSString *resourcePath = [[NSBundle mainBundle] resourcePath];
26
27
- // Disable all color, as the Xcode log can't display color
+ // Set some other common environment indicators to disable color, as the
28
+ // Xcode log can't display color. Stdout will report that it is *not* a
29
+ // TTY.
30
setenv("NO_COLOR", "1", true);
31
+ setenv("PY_COLORS", "0", true);
32
33
// Arguments to pass into the test suite runner.
34
// argv[0] must identify the process; any subsequent arg
0 commit comments