Skip to content

Commit

Permalink
Fix dependabot alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
abduhbm committed Jul 27, 2022
1 parent 16eb042 commit 95be963
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
numpy
numpy>=1.22.0
8 changes: 7 additions & 1 deletion tests/test_export.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import json
import warnings

import pandas as pd
import pytest
Expand Down Expand Up @@ -72,6 +73,11 @@ def test_export_to_dataframe(zmap_object):


def test_export_to_pandas(zmap_object):
df = zmap_object.to_dataframe()
df = zmap_object.to_pandas()
assert type(df) == pd.DataFrame
assert df.describe().loc["mean"]["X"] == 100.0


def test_export_to_dataframe_capture_warning(zmap_object):
with pytest.warns(UserWarning):
warnings.warn("renamed to to_pandas", UserWarning)
2 changes: 1 addition & 1 deletion zmapio/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.8.0"
__version__ = "0.8.1"

0 comments on commit 95be963

Please sign in to comment.