OS: Windows
Python version: 3.9
Toolkit: Qt
Qt API: PySide2
Description
My pytest unittests show a deprecation warning that is coming from pyface:
C:\git\...\.tox\codecov\lib\site-packages\pyface\ui\qt4\code_editor\gutters.py:134: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using __int__ is deprecated, and may be removed
in a future version of Python.
painter.drawText(
Apparently, the variable top is of float type sometimes:
Environment
OS: Windows Python version: 3.9 Toolkit: Qt Qt API: PySide2
Description
My pytest unittests show a deprecation warning that is coming from pyface:
Apparently, the variable
top
is of float type sometimes: