Closed
Description
Bug report
Bug description:
The iOS buildbot was recently updated to run on Sequoia, with Xcode 16.2 and an iOS 18.2 simulator. This has revealed a set of test failures that weren't occurring on Xcode 15.4 and iOS 17.2:
The failures are all in the test__colorize
tests:
test_colorized_detection_checks_for_environment_variables (test.test__colorize.TestColorizeFunction.test_colorized_detection_checks_for_environment_variables) ...
test_colorized_detection_checks_for_environment_variables (test.test__colorize.TestColorizeFunction.test_colorized_detection_checks_for_environment_variables) (env={}, fallback=True) ... FAIL
test_colorized_detection_checks_for_environment_variables (test.test__colorize.TestColorizeFunction.test_colorized_detection_checks_for_environment_variables) (env={'FORCE_COLOR': ''}, fallback=True) ... FAIL
test_colorized_detection_checks_for_environment_variables (test.test__colorize.TestColorizeFunction.test_colorized_detection_checks_for_environment_variables) (env={'NO_COLOR': ''}, fallback=True) ... FAIL
test_colorized_detection_checks_for_environment_variables (test.test__colorize.TestColorizeFunction.test_colorized_detection_checks_for_environment_variables) (env={'PYTHON_COLORS': 'x'}, fallback=True) ... FAIL
test_colorized_detection_checks_for_environment_variables (test.test__colorize.TestColorizeFunction.test_colorized_detection_checks_for_environment_variables) (env={'PYTHON_COLORS': ''}, fallback=True) ... FAIL
test_colorized_detection_checks_for_environment_variables (test.test__colorize.TestColorizeFunction.test_colorized_detection_checks_for_environment_variables) (env={'PYTHON_COLORS': '1'}, fallback=True) ... FAIL
test_colorized_detection_checks_for_environment_variables (test.test__colorize.TestColorizeFunction.test_colorized_detection_checks_for_environment_variables) (env={'PYTHON_COLORS': '0'}, fallback=True) ... FAIL
test_colorized_detection_checks_for_environment_variables (test.test__colorize.TestColorizeFunction.test_colorized_detection_checks_for_environment_variables) (env={'PYTHON_COLORS': 'x'}, fallback=True) ... FAIL
test_colorized_detection_checks_for_environment_variables (test.test__colorize.TestColorizeFunction.test_colorized_detection_checks_for_environment_variables) (env={'PYTHON_COLORS': ''}, fallback=True) ... FAIL
test_colorized_detection_checks_for_file (test.test__colorize.TestColorizeFunction.test_colorized_detection_checks_for_file) ... FAIL
test_colorized_detection_checks_for_std_streams (test.test__colorize.TestColorizeFunction.test_colorized_detection_checks_for_std_streams) ... FAIL
Example failed run: https://buildbot.python.org/#/builders/1380/builds/2619
This is likely due to a conflict between the iOS testbed forcing NO_COLOR
, because an iOS log stream doesn't support ANSI logging sequences - but it's not clear why this didn't manifest previously.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Other