Skip to content
Closed
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/progress.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Changelog

0.11.1
~~~~~~
* MAINT #981: Added unit test to verify how the dataset object handles comparisons.
* MAINT #671: Improved the performance of ``check_datasets_active`` by only querying the given list of datasets in contrast to querying all datasets. Modified the corresponding unit test.

0.11.0
Expand Down
5 changes: 5 additions & 0 deletions tests/test_datasets/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,11 @@ def test_get_data_corrupt_pickle(self):
self.assertIsInstance(xy, pd.DataFrame)
self.assertEqual(xy.shape, (150, 5))

def test_equality_comparison(self):
self.assertTrue(self.iris == self.iris)
Comment thread
ArlindKadra marked this conversation as resolved.
Outdated
self.assertFalse(self.iris == self.titanic)
self.assertFalse(self.titanic == 'Wrong_object')


class OpenMLDatasetTestOnTestServer(TestBase):
def setUp(self):
Expand Down