Skip to content

Commit

Permalink
again, I'll be equally angry
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzimathy committed Jul 7, 2022
1 parent 100ee36 commit f641a13
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 15 deletions.
2 changes: 1 addition & 1 deletion tests/test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import cProfile
import pytest

from utils import remoteresource
from .utils import remoteresource


def test_estimate_cvap2020():
Expand Down
2 changes: 1 addition & 1 deletion tests/test_geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import os
import pytest

from utils import remotegraphresource, remoteresource
from .utils import remotegraphresource, remoteresource


@pytest.mark.xfail(reason="Documentation and call signature do not match; clarification needed.")
Expand Down
8 changes: 1 addition & 7 deletions tests/test_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,11 @@
from evaltools.plotting import (
drawgraph, drawplan, districtr, boxplot
)
from gerrychain.graph import Graph
from pathlib import Path
import matplotlib.pyplot as plt
import geopandas as gpd
import numpy as np
import os
import requests
import tempfile
import json

from utils import remotegraphresource, remoteresource
from .utils import remotegraphresource, remoteresource


def test_drawgraph():
Expand Down
9 changes: 3 additions & 6 deletions tests/test_scoring.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@

from evaltools.scoring import (
deviations, splits, pieces, unassigned_units, unassigned_population,
contiguous, reock
deviations, splits, pieces, unassigned_units, contiguous, reock
)
from gerrychain import Graph, Partition
from pathlib import Path
from gerrychain import Partition
import geopandas as gpd
from gerrychain.grid import Grid
from shapely.geometry import box
import math
import os
import pytest

from utils import remoteresource, remotegraphresource
from .utils import remotegraphresource


def test_splits_pandas():
Expand Down

0 comments on commit f641a13

Please sign in to comment.