Skip to content

Commit

Permalink
Remove geoplot from tests. (ResidentMario#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
ResidentMario authored Jul 3, 2021
1 parent 86b52fd commit 095f45f
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions tests/viz_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
import numpy as np
import pytest

import sys; sys.path.append("../")
import sys
sys.path.append("../")

import missingno as msno
import matplotlib.pyplot as plt

Expand Down Expand Up @@ -122,19 +124,3 @@ def test_orientation_dendrogram(self):
def test_method_dendrogram(self):
msno.dendrogram(self.simple_df, method='single')
return plt.gcf()


class TestGeoplot(unittest.TestCase):
"""Integration tests only. The main function operations are handled by and tested in the `geoplot` package."""

def setUp(self):
np.random.seed(42)
simple_df = pd.DataFrame((np.random.random((20, 10))), columns=range(0, 10))
simple_df = simple_df.add_prefix("r")
self.x_y_df = simple_df

# @pytest.mark.mpl_image_compare
@pytest.mark.xfail
def test_geoplot_quadtree(self):
msno.geoplot(self.x_y_df, x='r0', y='r1')
return plt.gcf()

0 comments on commit 095f45f

Please sign in to comment.