From f04fbc7c6d617f1958548818602a7638d15a7a25 Mon Sep 17 00:00:00 2001 From: Anthony Date: Thu, 28 Nov 2024 14:40:07 -0500 Subject: [PATCH] docstring --- tests/conftest.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/conftest.py b/tests/conftest.py index 58676bb22..5c6e8c5d6 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -73,11 +73,17 @@ def set_backend(backend): def skip_np(): + r""" + Skips tests if the backend is numpy. + """ if math.backend_name == "numpy": pytest.skip("numpy") def skip_tf(): + r""" + Skips tests if the backend is tensorflow and the version is ``>2.15.0``. + """ if math.backend_name == "tensorflow": if Version(metadata.distribution("tensorflow").version) > Version("2.15.0"): pytest.skip("tensorflow")