Hello community,
here is the log from the commit of package python-vega_datasets for openSUSE:Factory checked in at 2019-08-05 10:36:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-vega_datasets (Old)
and /work/SRC/openSUSE:Factory/.python-vega_datasets.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-vega_datasets"
Mon Aug 5 10:36:05 2019 rev:3 rq:720124 version:0.7.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-vega_datasets/python-vega_datasets.changes 2018-12-24 11:48:01.517100466 +0100
+++ /work/SRC/openSUSE:Factory/.python-vega_datasets.new.4126/python-vega_datasets.changes 2019-08-05 10:36:20.095334863 +0200
@@ -1,0 +2,8 @@
+Wed Jul 31 21:04:47 UTC 2019 - Todd R
From d14727405485588c4bf22032cfd6d79211dfe35b Mon Sep 17 00:00:00 2001 From: Jake VanderPlas
Date: Wed, 31 Jul 2019 13:53:01 -0700 Subject: [PATCH] TST: fix tests for pandas 0.25
--- vega_datasets/tests/test_download.py | 6 +++--- vega_datasets/tests/test_local_datasets.py | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/vega_datasets/tests/test_download.py b/vega_datasets/tests/test_download.py index acdcf07..810c269 100644 --- a/vega_datasets/tests/test_download.py +++ b/vega_datasets/tests/test_download.py @@ -14,8 +14,8 @@ def test_download_iris(): iris = data.iris(use_local=False) assert type(iris) is pd.DataFrame - assert tuple(iris.columns) == ('petalLength', 'petalWidth', 'sepalLength', - 'sepalWidth', 'species') + assert sorted(iris.columns) == ['petalLength', 'petalWidth', 'sepalLength', + 'sepalWidth', 'species'] iris = data.iris.raw(use_local=False) assert type(iris) is bytes @@ -29,7 +29,7 @@ def test_stock_date_parsing(): def test_stock_pivoted(): stocks = data.stocks(pivoted=True) assert stocks.index.name == 'date' - assert all(stocks.columns == ['AAPL', 'AMZN', 'GOOG', 'IBM', 'MSFT']) + assert sorted(stocks.columns) == ['AAPL', 'AMZN', 'GOOG', 'IBM', 'MSFT'] @skip_if_no_internet diff --git a/vega_datasets/tests/test_local_datasets.py b/vega_datasets/tests/test_local_datasets.py index d458f3b..094664a 100644 --- a/vega_datasets/tests/test_local_datasets.py +++ b/vega_datasets/tests/test_local_datasets.py @@ -29,8 +29,8 @@ def test_load_local_dataset(name): def test_iris_column_names(): iris = data.iris() assert type(iris) is pd.DataFrame - assert tuple(iris.columns) == ('petalLength', 'petalWidth', 'sepalLength', - 'sepalWidth', 'species') + assert sorted(iris.columns) == ['petalLength', 'petalWidth', 'sepalLength', + 'sepalWidth', 'species'] iris = data.iris.raw() assert type(iris) is bytes @@ -39,7 +39,7 @@ def test_iris_column_names(): def test_stocks_column_names(): stocks = data.stocks() assert type(stocks) is pd.DataFrame - assert tuple(stocks.columns) == ('symbol', 'date', 'price') + assert sorted(stocks.columns) == ['date', 'price', 'symbol'] stocks = data.stocks.raw() assert type(stocks) is bytes @@ -48,9 +48,9 @@ def test_stocks_column_names(): def test_cars_column_names(): cars = data.cars() assert type(cars) is pd.DataFrame - assert tuple(cars.columns) == ('Acceleration', 'Cylinders', 'Displacement', + assert sorted(cars.columns) == ['Acceleration', 'Cylinders', 'Displacement', 'Horsepower', 'Miles_per_Gallon', 'Name', - 'Origin', 'Weight_in_lbs', 'Year') + 'Origin', 'Weight_in_lbs', 'Year'] cars = data.cars.raw() assert type(cars) is bytes