Revert "skip pytest monkeypatch"

This commit is contained in:
Ogi Moore 2021-06-15 20:28:08 -07:00 committed by GitHub
parent 61dedcb4a5
commit ee602ac243
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,9 @@
import pyqtgraph as pg
from math import isclose
import pytest
app = pg.mkQApp()
skip_monkey_reason = "monkeypatch causing segfaults"
@pytest.mark.skipif(True, reason=skip_monkey_reason)
def test_AxisItem_stopAxisAtTick(monkeypatch):
def test_bottom(p, axisSpec, tickSpecs, textSpecs):
viewPixelSize = view.viewPixelSize()
@ -96,7 +93,6 @@ def test_AxisItem_leftRelink():
assert fake_view.sigResized.calls == ['connect', 'disconnect']
@pytest.mark.skipif(True, reason=skip_monkey_reason)
def test_AxisItem_tickFont(monkeypatch):
def collides(textSpecs):
fontMetrics = pg.Qt.QtGui.QFontMetrics(font)