File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515from qwt .tests import utils
1616from qwt .tests .test_simple import SimplePlot
1717
18- # Performance should be the same with "1" and "2" scale factors:
19- # (as of today, this is not the case, but it has to be fixed in the future:
20- # https://github.com/PlotPyStack/PythonQwt/issues/83)
21- os .environ ["QT_SCALE_FACTOR" ] = "2"
22-
2318
2419class HighDPIPlot (SimplePlot ):
2520 NUM_POINTS = 5000000 # 5 million points needed to test high DPI support
@@ -28,6 +23,12 @@ class HighDPIPlot(SimplePlot):
2823@pytest .mark .skip (reason = "This test is not relevant for the automated test suite" )
2924def test_highdpi ():
3025 """Test high DPI support"""
26+
27+ # Performance should be the same with "1" and "2" scale factors:
28+ # (as of today, this is not the case, but it has to be fixed in the future:
29+ # https://github.com/PlotPyStack/PythonQwt/issues/83)
30+ os .environ ["QT_SCALE_FACTOR" ] = "2"
31+
3132 utils .test_widget (HighDPIPlot , (800 , 480 ))
3233
3334
You can’t perform that action at this time.
0 commit comments