aboutsummaryrefslogtreecommitdiff
path: root/absl/third_party/unittest3_backport/BUILD
diff options
context:
space:
mode:
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",