Skip to content

Commit 4e7f4b5

Browse files
author
autoih
committed
concise command
1 parent 85dc3a3 commit 4e7f4b5

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

tensorflow_addons/conftest.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,5 @@
2020
@pytest.fixture(autouse=True)
2121
def add_np(doctest_namespace):
2222
doctest_namespace["np"] = np
23-
24-
25-
@pytest.fixture(autouse=True)
26-
def add_tf(doctest_namespace):
2723
doctest_namespace["tf"] = tf
28-
29-
30-
@pytest.fixture(autouse=True)
31-
def add_tfa(doctest_namespace):
3224
doctest_namespace["tfa"] = tfa

tools/docker/sanity_check.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ RUN python configure.py
117117
RUN --mount=type=cache,id=cache_bazel,target=/root/.cache/bazel \
118118
bash tools/install_so_files.sh
119119
RUN pip install --no-deps -e .
120-
RUN pytest -v -n auto ./tensorflow_addons/activations
121-
RUN pytest -v --doctest-modules tensorflow_addons/ --ignore-glob=*_test.py
120+
RUN pytest -v -n auto ./tensorflow_addons/activations \
121+
--doctest-modules tensorflow_addons/ --ignore-glob=*_test.py
122122
RUN touch /ok.txt
123123

124124
# -------------------------------

0 commit comments

Comments
 (0)