We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5208294 commit 7fa14bdCopy full SHA for 7fa14bd
1 file changed
test/unit_test/headless/test_monitor_layout_batch.py
@@ -64,7 +64,7 @@ def test_enumerate_monitors_with_injected_provider():
64
{"x": 1920, "y": 0, "width": 1280, "height": 1024, "scale": 1.5}]
65
mons = enumerate_monitors(provider=lambda: rows)
66
assert [m.index for m in mons] == [0, 1]
67
- assert mons[0].primary is True and mons[1].scale == 1.5
+ assert mons[0].primary is True and abs(mons[1].scale - 1.5) < 1e-9
68
assert mons[1].x == 1920
69
70
0 commit comments