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 23cda58 commit a9c7bc0Copy full SHA for a9c7bc0
Lib/test/test_regrtest.py
@@ -1931,6 +1931,8 @@ def test_print_warning(self):
1931
1932
def test_unicode_guard_env(self):
1933
guard = os.environ.get(setup.UNICODE_GUARD_ENV)
1934
+ # if you run the test directly,
1935
+ # then look at the if __name__ == '__main__' of this file
1936
self.assertIsNotNone(guard, f"{setup.UNICODE_GUARD_ENV} not set")
1937
if guard.isascii():
1938
# Skip to signify that the env var value was changed by the user;
@@ -2546,4 +2548,5 @@ def test_test_result_get_state(self):
2546
2548
2547
2549
2550
if __name__ == '__main__':
2551
+ os.environ['PYTHONREGRTEST_UNICODE_GUARD'] = 'some_value' # for test_unicode_guard_env
2552
unittest.main()
0 commit comments