Skip to content

Commit

Permalink
Update test_core.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bimac committed Dec 2, 2024
1 parent 16a6fbf commit fdb7af0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import pandas as pd


def test_dataframe_model(qtbot):
# instantiation / setting of dataframe
df = pd.DataFrame({'X': [0, 1, 2], 'Y': ['A', 'B', 'C']})
Expand Down Expand Up @@ -76,7 +77,8 @@ def test_dataframe_model(qtbot):
assert model.data(model.index(0, 0), Qt.ItemDataRole.BackgroundRole).alpha() == 128
assert model.data(model.index(2, 0), Qt.ItemDataRole.BackgroundRole).alpha() == 128

@pytest.mark.xfail(reason="This fails with the GitHub Windows runner for some reason.")

@pytest.mark.xfail(reason='This fails with the GitHub Windows runner for some reason.')
def test_path_watcher(qtbot):
parent = core.QObject()
w = core.PathWatcher(parent=parent, paths=[])
Expand Down

0 comments on commit fdb7af0

Please sign in to comment.