aboutsummaryrefslogtreecommitdiff
path: root/absl/flags/tests
diff options
context:
space:
mode:
authorYilei Yang <yileiyang@google.com>2020-02-24 12:22:11 -0800
committerCopybara-Service <copybara-worker@google.com>2020-02-24 12:22:38 -0800
commitf32b8075cd480506434b9c95a89ad3813a00b1b6 (patch)
tree3c344a1600986f6d6c95da8eaf6a9955c5922703 /absl/flags/tests
parentc35a2aa62b35f0fdb2542a2aea3c5f03bc386ab2 (diff)
downloadabsl-py-f32b8075cd480506434b9c95a89ad3813a00b1b6.tar.gz
Define and use py2 and py3 version of the test helper binaries, instead of always using the PY2 version.
PiperOrigin-RevId: 296947636 Change-Id: I07fd5bc14c6ff1f9b4f5150ba0a7637ca2b884cd
Diffstat (limited to 'absl/flags/tests')
-rw-r--r--absl/flags/tests/argparse_flags_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/flags/tests/argparse_flags_test.py b/absl/flags/tests/argparse_flags_test.py
index 51ed7fa..09272e8 100644
--- a/absl/flags/tests/argparse_flags_test.py
+++ b/absl/flags/tests/argparse_flags_test.py
@@ -420,7 +420,7 @@ class ArgparseWithAppRunTest(parameterized.TestCase):
env['MAIN_FUNC'] = main_func_name
env['FLAGS_PARSER_FUNC'] = flags_parser_func_name
helper = _bazelize_command.get_executable_path(
- 'absl/flags/tests/argparse_flags_test_helper', add_version_suffix=False)
+ 'absl/flags/tests/argparse_flags_test_helper')
try:
stdout = subprocess.check_output(
[helper] + args, env=env, universal_newlines=True)