-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Random coverage
Anže Starič edited this page Oct 19, 2017
·
21 revisions
Coverage reports for some PRs report decrease in overall coverage, sometimes even when PR does not touch code at all. The following list links to the parts of code that are only sometimes tested. The problem can be fixed by writing a test that always test the linked code.
- https://codecov.io/gh/biolab/orange3/compare/ca9292e02ff80eb4c14c124f7e4bf270fb2795da...1caa8135965b9b4e69728d38cee03e8624746e1f/src/Orange/widgets/visualize/owmap.py
- https://codecov.io/gh/biolab/orange3/compare/1a4652ab07fb1d4e4246f87c7f716d4783abea92...959a79e14344856da534d7dc1bc0b4f1f92aaaa4/src/Orange/widgets/visualize/owmap.py
- https://codecov.io/gh/biolab/orange3/compare/ca9292e02ff80eb4c14c124f7e4bf270fb2795da...1caa8135965b9b4e69728d38cee03e8624746e1f/src/Orange/widgets/utils/webview.py
- https://codecov.io/gh/biolab/orange3/compare/1a4652ab07fb1d4e4246f87c7f716d4783abea92...1278e52be21ab21173f6d5e3d8199f2e05c6c660/src/Orange/widgets/evaluate/owconfusionmatrix.py
- https://codecov.io/gh/biolab/orange3/compare/1a4652ab07fb1d4e4246f87c7f716d4783abea92...959a79e14344856da534d7dc1bc0b4f1f92aaaa4/src/Orange/widgets/gui.py
- https://codecov.io/gh/biolab/orange3/compare/abe0866504b754a19e32b67e84d062e8bc4f72dc...700dd686ff647296bc3f47d3ddcf913cd0fe25f9/src/Orange/widgets/visualize/owmosaic.py
======================================================================
ERROR: test_pause_continue (Orange.widgets.visualize.tests.test_owmosaic.MosaicVizRankTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\projects\orange3-75xll\build\.test\lib\site-packages\Orange\widgets\visualize\tests\test_owmosaic.py", line 256, in test_pause_continue
self.process_events(until=lambda: self.vizrank.saved_progress > 20)
File "C:\projects\orange3-75xll\build\.test\lib\site-packages\Orange\widgets\tests\base.py", line 194, in process_events
raise TimeoutError()
TimeoutError
----------------------------------------------------------------------
======================================================================
ERROR: test_subset_data (Orange.widgets.visualize.tests.test_owmosaic.MosaicVizRankTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/biolab/orange3/build/travis-test/Orange/widgets/visualize/tests/test_owmosaic.py", line 348, in test_subset_data
self.send_signal(self.widget.Inputs.data_subset, table_titanic[::20])
File "/home/travis/build/biolab/orange3/build/travis-test/Orange/widgets/tests/base.py", line 235, in send_signal
widget.handleNewSignals()
File "/home/travis/build/biolab/orange3/build/travis-test/Orange/widgets/visualize/owmosaic.py", line 462, in handleNewSignals
self.reset_graph()
File "/home/travis/build/biolab/orange3/build/travis-test/Orange/widgets/visualize/owmosaic.py", line 475, in reset_graph
self.update_graph()
File "/home/travis/build/biolab/orange3/build/travis-test/Orange/widgets/visualize/owmosaic.py", line 983, in update_graph
get_conditional_distribution(self.discrete_data[self.subset_indices], attr_list)
File "/home/travis/build/biolab/orange3/build/travis-test/Orange/data/table.py", line 707, in __getitem__
return self.from_table_rows(self, key)
File "/home/travis/build/biolab/orange3/build/travis-test/Orange/data/table.py", line 457, in from_table_rows
self.metas = source.metas[row_indices]
IndexError: boolean index did not match indexed array along dimension 0; dimension is 2201 but corresponding boolean dimension is 230946832
----------------------------------------------------------------------
test_send_report (Orange.widgets.visualize.tests.test_owscatterplot.TestOWScatterPlot) ... *** Error in `/home/travis/virtualenv/python3.4.6/bin/python': double free or corruption (fasttop): 0x000000000e29fbe0 ***
Aborted (core dumped)
test_features_and_no_data (Orange.widgets.visualize.tests.test_owscatterplot.TestOWScatterPlot) ... Command exited with code -1073741819
======================================================================
ERROR: test_pause_continue (Orange.widgets.visualize.tests.test_owmosaic.MosaicVizRankTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\projects\orange3-75xll\build\.test\lib\site-packages\Orange\widgets\visualize\tests\test_owmosaic.py", line 256, in test_pause_continue
self.process_events(until=lambda: self.vizrank.saved_progress > 20)
File "C:\projects\orange3-75xll\build\.test\lib\site-packages\Orange\widgets\tests\base.py", line 194, in process_events
raise TimeoutError()
TimeoutError
----------------------------------------------------------------------