| commit | 38ccfe8a42b897f7a6b8324c83f142a7133158cc | [log] [tgz] |
|---|---|---|
| author | Sebastien Lalancette <[email protected]> | Tue Apr 26 20:53:45 2022 |
| committer | Josip Sokcevic <[email protected]> | Mon Oct 30 18:50:32 2023 |
| tree | 6ba0dc374dc094f44d369aeb677074316faa55aa | |
| parent | ee97cb9432445379275fd23fc8b574b51e19febb [diff] |
Revert "[CodeHealth] Migrate remainder of testing/ to Python3 compatible syntax" This reverts commit 8defc6c6da91e4b7d7a686b7bb67658d9a5ebe55. Reason for revert: Makes win-chrome fail: https://ci.chromium.org/p/chrome/builders/try/win-chrome/4538 Original change's description: > [CodeHealth] Migrate remainder of testing/ to Python3 compatible syntax > > and Pylint2.7, and fix resulting errors. > > Bug: 1262363 > Change-Id: I09628427dd4caf9d873f3b489b897054430f8567 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3557490 > Reviewed-by: Ben Pastene <[email protected]> > Commit-Queue: Joshua Hood <[email protected]> > Cr-Commit-Position: refs/heads/main@{#996200} Bug: 1262363 Change-Id: I74384a8cbd77e0db5adbbd5815d54e836472b756 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3607233 Auto-Submit: Sebastien Lalancette <[email protected]> Reviewed-by: Ben Pastene <[email protected]> Commit-Queue: Ben Pastene <[email protected]> Cr-Commit-Position: refs/heads/main@{#996362} NOKEYCHECK=True GitOrigin-RevId: 53ef7d3a9b421c2fb8b8831a2f20bfbcc95d1428
diff --git a/rust_main_program.py b/rust_main_program.py index a1f9520..080dd2b 100644 --- a/rust_main_program.py +++ b/rust_main_program.py
@@ -11,7 +11,7 @@ import subprocess import sys -sys.path.append(os.path.dirname(os.path.abspath(__file__))) +sys.path.append(os.path.dirname(__file__)) import exe_util import main_program import test_results
diff --git a/test_filtering.py b/test_filtering.py index bc9c7ee..a386dd0 100644 --- a/test_filtering.py +++ b/test_filtering.py
@@ -56,7 +56,8 @@ """ if self._is_prefix_match: return test_name.startswith(self._filter_text) - return test_name == self._filter_text + else: + return test_name == self._filter_text def is_exclusion_filter(self): """Rreturns whether this filter excludes (rather than includes) matching