old_contents: import os
  
  os.environ['QT_API'] = os.environ['USE_QT_API'].lower()
  
  from qtpy import QtCore, QtGui, QtWidgets, QtWebWidgets
  
  print('Qt version:%s' % QtCore.__version__)
  print(QtCore.QEvent)
  print(QtGui.QPainter)
  print(QtWidgets.QWidget)
  print(QtWebWidgets.QWebPage)
  
new_contents: import os
  
  os.environ['QT_API'] = os.environ['USE_QT_API'].lower()
  
  from qtpy import QtCore, QtGui, QtWidgets, QtWebEngineWidgets
  
  print('Qt version:%s' % QtCore.__version__)
  print(QtCore.QEvent)
  print(QtGui.QPainter)
  print(QtWidgets.QWidget)
  print(QtWebEngineWidgets.QWebEnginePage)
  
subject: Fix tests