import pytest
from qtpy import PYSIDE2


@pytest.mark.skipif(PYSIDE2, reason="Not available in CI")
def test_qtserialport():
    """Test the qtpy.QtSerialPort namespace"""
    QtSerialPort = pytest.importorskip("qtpy.QtSerialPort")

    assert QtSerialPort.QSerialPort is not None
    assert QtSerialPort.QSerialPortInfo is not None

2b54a2961e6595a065b3f0930b8317646d8192b5
<mask token>

<mask token>


@pytest.mark.skipif(PYSIDE2, reason='Not available in CI')
def test_qtserialport():
    """Test the qtpy.QtSerialPort namespace"""
    QtSerialPort = pytest.importorskip('qtpy.QtSerialPort')
    assert QtSerialPort.QSerialPort is not None
    assert QtSerialPort.QSerialPortInfo is not None

import pytest
from qtpy import PYSIDE2


@pytest.mark.skipif(PYSIDE2, reason='Not available in CI')
def test_qtserialport():
    """Test the qtpy.QtSerialPort namespace"""
    QtSerialPort = pytest.importorskip('qtpy.QtSerialPort')
    assert QtSerialPort.QSerialPort is not None
    assert QtSerialPort.QSerialPortInfo is not None

import pytest
from qtpy import PYSIDE2


@pytest.mark.skipif(PYSIDE2, reason="Not available in CI")
def test_qtserialport():
    """Test the qtpy.QtSerialPort namespace"""
    QtSerialPort = pytest.importorskip("qtpy.QtSerialPort")

    assert QtSerialPort.QSerialPort is not None
    assert QtSerialPort.QSerialPortInfo is not None
