aboutsummaryrefslogtreecommitdiff
path: root/absl/third_party/unittest3_backport/BUILD
diff options
context:
space:
mode:
authorYilei "Dolee" Yang <yileiyang@google.com>2021-07-19 17:06:15 -0700
committerGitHub <noreply@github.com>2021-07-19 17:06:15 -0700
commitcde7550cb6c01d900ccc27919f375858d6a8e1de (patch)
tree92bda1674509bcb1da5699121c42bfb1798f8003 /absl/third_party/unittest3_backport/BUILD
parent4d8ea27b446c943a10a3e9ec60c9a7a2980508ba (diff)
parent70758a988b3b50f510acc7ef16bcd7d7423ed4c0 (diff)
downloadabsl-py-cde7550cb6c01d900ccc27919f375858d6a8e1de.tar.gz
Merge pull request #172 from yilei/push_up_to_385601086
Push up to 385601086
Diffstat (limited to 'absl/third_party/unittest3_backport/BUILD')
-rw-r--r--absl/third_party/unittest3_backport/BUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/absl/third_party/unittest3_backport/BUILD b/absl/third_party/unittest3_backport/BUILD
index d619cee..1d29df9 100644
--- a/absl/third_party/unittest3_backport/BUILD
+++ b/absl/third_party/unittest3_backport/BUILD
@@ -2,8 +2,6 @@ licenses(["notice"]) # New BSD, Python Software Foundation
exports_files(["LICENSE"])
-load("//absl:_build_defs.bzl", "py2and3_test")
-
py_library(
name = "unittest3_backport",
srcs = ["__init__.py"],
@@ -33,11 +31,12 @@ py_library(
],
)
-py2and3_test(
+py_test(
name = "tests/unittest3_backport_test",
size = "small",
srcs = ["tests/unittest3_backport_test.py"],
- srcs_version = "PY2AND3",
+ python_version = "PY3",
+ srcs_version = "PY3",
deps = [
"//absl/testing:absltest",
"//absl/testing:xml_reporter",