Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

format & lint – cg/tests/*.py #614

Merged
merged 7 commits into from
Oct 30, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove unittest in test_ashapes.py
  • Loading branch information
jGaboardi committed Oct 30, 2023
commit e6b29b357edbfde78dd41080eaa9a56877fafd49
6 changes: 4 additions & 2 deletions libpysal/cg/tests/test_ashapes.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
from unittest import skipIf

import numpy as np
import pytest
from packaging.version import Version

from ...examples import get_path
Expand All @@ -19,7 +19,9 @@
this_directory = os.path.dirname(__file__)


@skipIf(GEOPANDAS_EXTINCT, "Geopandas is missing, so test will not run.")
@pytest.mark.skipif(
GEOPANDAS_EXTINCT, reason="Geopandas is missing, so test will not run."
)
jGaboardi marked this conversation as resolved.
Show resolved Hide resolved
class TestAlphaShapes:
def setup_method(self):
eberly = geopandas.read_file(get_path("eberly_net.shp"))
Expand Down
Loading