diff options
author | Abseil Team <absl-team@google.com> | 2022-11-30 08:30:02 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-11-30 08:30:38 -0800 |
commit | c4ab3bf1a95ce0ffa550984fc1cdfe9ccd777ed4 (patch) | |
tree | bc8a628b912c9551b96e4bbed7aec8c0a3c1cd28 | |
parent | 6c83adcf2c35d1e41dee63c3199189b546731b6d (diff) | |
download | absl-py-c4ab3bf1a95ce0ffa550984fc1cdfe9ccd777ed4.tar.gz |
Add a pytype disable for a type error.
PiperOrigin-RevId: 491925237
Change-Id: I294f9993b4f1944e1d28ba54a5b14ae910b2714f
-rw-r--r-- | absl/testing/absltest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/testing/absltest.py b/absl/testing/absltest.py index 9071f8f..e14cfcb 100644 --- a/absl/testing/absltest.py +++ b/absl/testing/absltest.py @@ -525,7 +525,7 @@ class _TempFile(object): 'file in binary mode'.format(mode)) if 'b' not in mode: mode += 'b' - cm = self._open(mode, encoding=None, errors=None) + cm = self._open(mode, encoding=None, errors=None) # pytype: disable=wrong-arg-types return cm # TODO(b/123775699): Once pytype supports typing.Literal, use overload and |