Matej Cepl
b504c1c71a
Unfortunately, I am not able to find a changelog anywhere, so this is just edited list of commit messages: - Bump to 0.5.2, attempt to fix docs, fix very deprecated pandas and nu… - Add an option to not include JS libraries in HTML. - Update package.json with new version - Treat browserify as default, update require mechanism - Fix outdated dependency and update RELEASING.md - Clean up test_ticklabels.py - Remove test_tickformat_index as it has been replaced by FuncFormatter… - Update documentation code to work with Python 3 - Update long_description_content_type OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-mpld3?expand=0&rev=4
40 lines
1.3 KiB
Diff
40 lines
1.3 KiB
Diff
---
|
|
mpld3/mplexporter/tests/test_basic.py | 2 +-
|
|
mpld3/test_plots/test_pandas_timeaxis.py | 2 +-
|
|
mpld3/tests/test_d3_snapshots.py | 2 +-
|
|
3 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
--- a/mpld3/mplexporter/tests/test_basic.py
|
|
+++ b/mpld3/mplexporter/tests/test_basic.py
|
|
@@ -1,7 +1,7 @@
|
|
import matplotlib
|
|
import numpy as np
|
|
from distutils.version import LooseVersion
|
|
-from nose.plugins.skip import SkipTest
|
|
+from unittest import SkipTest
|
|
from numpy.testing import assert_warns
|
|
|
|
from ..exporter import Exporter
|
|
--- a/mpld3/test_plots/test_pandas_timeaxis.py
|
|
+++ b/mpld3/test_plots/test_pandas_timeaxis.py
|
|
@@ -7,7 +7,7 @@ def create_plot():
|
|
try:
|
|
import pandas as pd
|
|
except Exception:
|
|
- from nose import SkipTest
|
|
+ from unittest import SkipTest
|
|
raise SkipTest("pandas not installed")
|
|
df2_index = pd.date_range(start="2010-01-01", periods=100, freq='D')
|
|
df2 = pd.DataFrame({'a': range(100)}, index=df2_index)
|
|
--- a/mpld3/tests/test_d3_snapshots.py
|
|
+++ b/mpld3/tests/test_d3_snapshots.py
|
|
@@ -4,7 +4,7 @@ import glob
|
|
import matplotlib
|
|
from . import export
|
|
|
|
-from nose.plugins.skip import SkipTest
|
|
+from unittest import SkipTest
|
|
matplotlib.use('Agg')
|
|
|
|
TEST_PLOT_FILES = os.path.join(mpld3.BASE_PATH, 'mpld3/test_plots/*.py')
|