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
Josip Sokcevic e9ece0f581 Reland "Remove Python 2 support for PRESUBMIT.py"
This is a reland of commit 8454fc2458

Original change's description:
> Remove Python 2 support for PRESUBMIT.py
>
> The presubmit system still supports invoking PRESUBMIT.py files using
> Python 2. This has recently been turned off on the bots so this change
> removes support more completely.
>
> There are still some python3 parameters being passed around - it seemed
> better to do the simplest possible removal now, with a follow-up change
> to remove more support code after this has sat for a while.
>
> Tests run from PRESUBMIT.py files could still be run using Python 2, but
> those should also have been addressed already. Removing support for that
> will be done in a subsequent change.
>
> Bug: 1207012
> Change-Id: Id244d547a04438f83734dba269c3cc180c148b37
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4315183
> Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com>
> Commit-Queue: Bruce Dawson <brucedawson@chromium.org>

Bug: 1207012
Change-Id: If542cac21d8ec8704b28d03fd8407c5c2899ca2c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4317177
Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com>
Commit-Queue: Aravind Vasudevan <aravindvasudev@google.com>
Auto-Submit: Josip Sokcevic <sokcevic@chromium.org>
2 years ago
..
gstools
OWNERS Create reclient specific ninja wrapper to properly handle reproxy lifecyle 2 years ago
auth_test.py Run spellchecker on depot_tools 5 years ago
autoninja_test.py Create reclient specific ninja wrapper to properly handle reproxy lifecyle 2 years ago
bot_update_coverage_test.py [no-sync] bot_update: Remove previous no-sync exp changes and implement new one. 3 years ago
cipd_bootstrap_test.py [cipd] Take cipd.ps1 out of %PATH%. 5 years ago
detect_host_arch_test.py Use x64 emulation for Windows on Arm targets 2 years ago
download_from_google_storage_unittest.py Skip 'ls' when downloading from gs. 3 years ago
fetch_test.py fetch: make --no-history and --no-hooks switches consistent 3 years ago
fix_encoding_test.py Make fix_encoding_test py3 compatible 3 years ago
gclient_cipd_smoketest.py Override cipd install mode for runhooks 3 years ago
gclient_eval_unittest.py metrics: Don't print notice if reporting build metrics. 4 years ago
gclient_git_mutates_smoketest.py gclient: Split gclient smoke tests. 4 years ago
gclient_git_smoketest.py gclient: Create graphviz file in flatten command. 2 years ago
gclient_no_sync_smoketest.py [no-sync] Save previous values to files. 3 years ago
gclient_paths_test.py depot_tools: Add tests for gclient_paths 5 years ago
gclient_scm_test.py Revert "Move scm.py to lib/" 2 years ago
gclient_smoketest.py depot_tools: Split gclient_smoketests. 5 years ago
gclient_smoketest_base.py Use pylint 2.7 for depot_tools 3 years ago
gclient_test.py [no-sync] Save previous values to files. 3 years ago
gclient_transitions_smoketest.py Revert "Move scm.py to lib/" 2 years ago
gclient_utils_test.py Reduce retries in gclient_utils 3 years ago
gerrit_client_test.py Add a 'setlabel' command to gerrit_client.py 4 years ago
gerrit_util_test.py Fix gerrit new-password URL 2 years ago
git_cache_test.py add support for main in git_cache 5 years ago
git_cl_creds_check_report.txt Fix gerrit new-password URL 2 years ago
git_cl_test.py Reland "Remove Python 2 support for PRESUBMIT.py" 2 years ago
git_common_test.py Fix git_common_test.py: git checkout -tb -> git checkout -t -b 3 years ago
git_dates_test.py Use assertEqual() rather than assertEquals() in Python tests. 6 years ago
git_find_releases_test.py Use pylint 2.7 for depot_tools 3 years ago
git_footers_test.py Use main branch as the default branch 4 years ago
git_hyper_blame_test.py Add support for git_hyper_blame for Windows 5 years ago
git_map_test.py Use main branch as the default branch 4 years ago
git_migrate_default_branch_test.py Use pylint 2.7 for depot_tools 3 years ago
git_number_test.py depot_tools: Run auth, cipd_bootstrap, git_number tests on python3. 6 years ago
git_rebase_update_test.py Remove 'Fetching' check in testTrackTag 3 years ago
gsutil_test.py Refactor gsutil and fix concurrecny issue on MacOS 4 years ago
lockfile_test.py Reland "Use OS level locking in git_cache.py" 5 years ago
metrics_test.py [portability] Support unknown operating systems in gclient. 2 years ago
my_activity_test.py Require certifi package and python3 in my_activity 4 years ago
ninja_reclient_test.py Use an md5 hash of the tmpdir for the autoninja reclient pipe on windows 2 years ago
ninjalog_uploader_test.py [ninjalog_uploader] Exclude absolute paths and options from targets 2 years ago
owners_client_test.py Reland "Remove old DepotToolsOwners implementation" 3 years ago
owners_finder_test.py owners_finder: Use code-owners plugin if available. 4 years ago
presubmit_canned_checks_test.py Move presubmit_canned_checks tests under tests/ and fix 2 years ago
presubmit_unittest.py Reland "Remove Python 2 support for PRESUBMIT.py" 2 years ago
rdb_wrapper_test.py Add snippets to presubmit failures in resultdb 3 years ago
recipes_test.py add vpython3 to tests that run under vpython3 3 years ago
roll_dep_test.py roll_dep: support multiple -r/--reviewer arguments 3 years ago
scm_unittest.py Revert "Move scm.py to lib/" 2 years ago
split_cl_test.py Update format of `git cl split` 4 years ago
subcommand_test.py Use empty argument list in cmdhelp 3 years ago
subprocess2_test.py Use pylint 2.7 for depot_tools 3 years ago
upload_to_google_storage_unittest.py Set cache-control when uploading to google storage 4 years ago
utils_test.py Extract searching relevat files in utils function 2 years ago
watchlists_unittest.py depot_tools: Use mock from vpython (or unittest.mock) instead of third_party/mock 5 years ago