Skip to content

Commit ab4339c

Browse files
yileicopybara-github
authored andcommitted
Merge absltest_py3_test to absltest_test now that we don't support Python 2.
The original test was actually not quite right, the code it's testing should be called for methods that start with title case `Test`. PiperOrigin-RevId: 527029081 Change-Id: I31f0b33a6493a21319506ac2a47d70f7304518d6
1 parent 2a7003e commit ab4339c

File tree

2 files changed

+3
-44
lines changed

2 files changed

+3
-44
lines changed

absl/testing/tests/absltest_py3_test.py

Lines changed: 0 additions & 44 deletions
This file was deleted.

absl/testing/tests/absltest_test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1953,6 +1953,9 @@ def TestHelperWithVarargs(self, *args, **kwargs):
19531953
def TestHelperWithDefaults(self, a=5):
19541954
pass
19551955

1956+
def TestHelperWithKeywordOnly(self, *, arg):
1957+
pass
1958+
19561959
class Invalid(absltest.TestCase):
19571960
"""Test case containing a suspicious method."""
19581961

0 commit comments

Comments
 (0)