You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
depot_tools/tests
Aravind Vasudevan 1f441eb375 [fix_encoding] Remove fix_encoding
The fix_encoding module within depot_tools was included back in the python2[1] days to as a be all encoding fix boilerplate that is called across depot_tools scripts.

However, now that depot_tools officially deprecated support for py2 and support >= 3.8[2], the boilerplate is not needed anymore.

* `fix_win_codec()`[3] The 'cp65001' codec issue this fixes is fixed in python 3.3[4].
* `fix_default_encoding()`[5] python3 defaults to utf8.
* `fix_win_sys_argv()`[6] sys.srgv unicode issue is fixed in python3[7].
* `fix_win_console()`[8] Fixed[9].

[1] https://codereview.chromium.org/6721029
[2] https://crrev.com/371aa997c04791d21e222ed43a1a0d55b450dd53/README.md
[3] https://source.chromium.org/chromium/chromium/tools/depot_tools/+/main:fix_encoding.py;l=123-132;drc=cfa826c9845122d445dce4f51f556381865dbed3
[4] https://github.com/python/cpython/issues/57425#issuecomment-1093559969
[5] https://source.chromium.org/chromium/chromium/tools/depot_tools/+/main:fix_encoding.py;l=29-66;drc=cfa826c9845122d445dce4f51f556381865dbed3
[6] https://crsrc.org/d/fix_encoding.py;l=73-120;drc=cfa826c9845122d445dce4f51f556381865dbed3
[7] https://github.com/python/cpython/issues/46381#issuecomment-1093409968
[8] https://source.chromium.org/chromium/chromium/tools/depot_tools/+/main:fix_encoding.py;l=315-344;drc=cfa826c9845122d445dce4f51f556381865dbed3
[9] https://github.com/python/cpython/issues/45943#issuecomment-1093402603

Bug: 1501984
Change-Id: I1d512a4b1bfe14e680ac0aa08027849b999cc638
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5263016
Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Commit-Queue: Aravind Vasudevan <aravindvasudev@google.com>
1 year ago
..
gstools
OWNERS [ChromiumOS] Add a launcher for Bazel 2 years ago
auth_test.py [auth] Be able to generate id_token 2 years ago
autoninja_test.py autoninja: cache negative result of gcloud account check 1 year ago
bazel_test.py tests: switch to 4 space indent 2 years ago
bot_update_coverage_test.py Fix multiline comment formatting 1 year ago
cipd_bootstrap_test.py Update cipd_bootstrap_test to use a newer cipd client binary. 1 year ago
detect_host_arch_test.py [detect_host_arch] Cache HostArch() function 1 year ago
download_from_google_storage_unittest.py Remove __future__ imports 2 years ago
fetch_test.py fetch: stop setting submodules config as we are not using it at all 2 years ago
gclient_cipd_smoketest.py tests: switch to 4 space indent 2 years ago
gclient_eval_unittest.py Reland^3 "Upgrade python to 3.11" 1 year ago
gclient_git_mutates_smoketest.py tests: switch to 4 space indent 2 years ago
gclient_git_smoketest.py Remove .git suffix from git submodules 2 years ago
gclient_no_sync_smoketest.py tests: switch to 4 space indent 2 years ago
gclient_paths_test.py Cache values in gclient_paths.py 2 years ago
gclient_scm_test.py Fix multiline comment formatting 1 year ago
gclient_smoketest.py tests: switch to 4 space indent 2 years ago
gclient_smoketest_base.py Fix multiline comment formatting 1 year ago
gclient_test.py Fix multiline comment formatting 1 year ago
gclient_transitions_smoketest.py Fix multiline comment formatting 1 year ago
gclient_utils_test.py tests: switch to 4 space indent 2 years ago
gerrit_client_test.py tests: switch to 4 space indent 2 years ago
gerrit_util_test.py tests: switch to 4 space indent 2 years ago
git_cache_test.py [git_cache] Track if git cache is fully initialized 1 year ago
git_cl_creds_check_report.txt
git_cl_test.py Fix multiline comment formatting 1 year ago
git_common_test.py Fix multiline comment formatting 1 year ago
git_dates_test.py tests: switch to 4 space indent 2 years ago
git_find_releases_test.py tests: switch to 4 space indent 2 years ago
git_footers_test.py tests: switch to 4 space indent 2 years ago
git_hyper_blame_test.py Fix multiline comment formatting 1 year ago
git_map_test.py tests: switch to 4 space indent 2 years ago
git_migrate_default_branch_test.py tests: switch to 4 space indent 2 years ago
git_number_test.py tests: switch to 4 space indent 2 years ago
git_rebase_update_test.py tests: switch to 4 space indent 2 years ago
gsutil_test.py [gsutil.py] Skip luci-auth wrapper on unsupported platforms 2 years ago
hooks_test.py Require prompt from users to confirm submodules commit. 2 years ago
lockfile_test.py tests: switch to 4 space indent 2 years ago
metrics_test.py tests: switch to 4 space indent 2 years ago
my_activity_test.py tests: switch to 4 space indent 2 years ago
ninja_reclient_test.py Fix deletion of old build logs 1 year ago
ninjalog_uploader_test.py ninjalog_uploader.py: use cipd to check authenticated account 1 year ago
owners_client_test.py tests: switch to 4 space indent 2 years ago
owners_finder_test.py tests: switch to 4 space indent 2 years ago
presubmit_canned_checks_test.py Fix multiline comment formatting 1 year ago
presubmit_support_test.py [presubmit] Don't replace os.environ 1 year ago
presubmit_unittest.py Remove _MergeMasters 1 year ago
rdb_wrapper_test.py Remove __future__ imports 2 years ago
recipes_test.py tests: switch to 4 space indent 2 years ago
reclient_metrics_test.py tests: switch to 4 space indent 2 years ago
roll_dep_test.py tests: switch to 4 space indent 2 years ago
scm_unittest.py Make scm.ListSubmodules return paths for the OS. 1 year ago
split_cl_test.py tests: switch to 4 space indent 2 years ago
subcommand_test.py tests: switch to 4 space indent 2 years ago
subprocess2_test.py Fix multiline comment formatting 1 year ago
upload_to_google_storage_unittest.py Remove last py2 workarounds 2 years ago
utils_test.py tests: switch to 4 space indent 2 years ago
watchlists_unittest.py tests: switch to 4 space indent 2 years ago