Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandrmgservices committed Dec 16, 2023
1 parent 71e4909 commit 34cddfc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,9 @@ def _generate_data():

yield _generate_data


def pytest_addoption(parser):
parser.addoption(
"--runtf", action="store_true", default=False, help="run tf tests"
)
parser.addoption("--runtf", action="store_true", default=False, help="run tf tests")


def pytest_configure(config):
Expand All @@ -85,4 +84,3 @@ def pytest_collection_modifyitems(config, items):
for item in items:
if "tf" in item.keywords:
item.add_marker(skip_tf)

1 change: 1 addition & 0 deletions tests/test_dragonnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import shutil
import pytest


@pytest.mark.tf
def test_save_load_dragonnet():
y, X, w, tau, b, e = simulate_nuisance_and_easy_treatment(n=1000)
Expand Down

0 comments on commit 34cddfc

Please sign in to comment.