-
Notifications
You must be signed in to change notification settings - Fork 102
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
- TIA Toolbox version: 1.6.0 develop branch
- Python version: 3.13
- Operating System: macOS Tahoe 26.1
Description
Some tests in test_annotation_stores.py and test_app_bokeh.py fail due to some macOS related issues.
I have fixed these issues locally, I will open a pull request with the fixes soon.
What I Did
(tiatoolbox-dev) jiaqilv@Jiaqis-MacBook-Pro tiatoolbox % pytest ./tests/test_annotation_stores.py
=========================================== test session starts ===========================================
platform darwin -- Python 3.13.0, pytest-9.0.2, pluggy-1.6.0
rootdir: /Users/jiaqilv/Documents/Github/tiatoolbox
configfile: pyproject.toml
plugins: anyio-4.12.0, xdist-3.8.0, cov-7.0.0
collected 296 items
tests/test_annotation_stores.py ....................................F.............................. [ 22%]
................................................................................................... [ 56%]
................................................................................................... [ 89%]
............................... [100%]
==================================== FAILURES =====================================
_________________________ test_sqlite_pquery_nowarn_index _________________________
fill_store = <function fill_store.<locals>._fill_store at 0x13f043a60>
caplog = <_pytest.logging.LogCaptureFixture object at 0x13ee5f390>
And:
FAILED tests/test_app_bokeh.py::test_add_slide_layer - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
FAILED tests/test_app_bokeh.py::test_transform_overlay - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
FAILED tests/test_app_bokeh.py::test_add_annotation_layer - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
FAILED tests/test_app_bokeh.py::test_tap_query - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
FAILED tests/test_app_bokeh.py::test_cprop_input - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
FAILED tests/test_app_bokeh.py::test_type_cmap_select - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
FAILED tests/test_app_bokeh.py::test_graph_with_feats - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
FAILED tests/test_app_bokeh.py::test_load_img_overlay - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
FAILED tests/test_app_bokeh.py::test_hovernet_on_box - AssertionError: assert 4 == 0
FAILED tests/test_app_bokeh.py::test_alpha_sliders - KeyError: 'overlay'
FAILED tests/test_app_bokeh.py::test_alpha_buttons - KeyError: 'overlay'
FAILED tests/test_app_bokeh.py::test_type_select - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
FAILED tests/test_app_bokeh.py::test_color_boxes - AttributeError: unexpected attribute 'color' to Slider, similar attributes are bar_color
FAILED tests/test_app_bokeh.py::test_filter_box - KeyError: 'overlay'
FAILED tests/test_app_bokeh.py::test_scale_spinner - requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
FAILED tests/test_app_bokeh.py::test_blur_spinner - requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
FAILED tests/test_app_bokeh.py::test_cmap_select - requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
FAILED tests/test_app_bokeh.py::test_option_buttons - requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working