Fix expected qWarning messages for Qt 5.5.
This commit is contained in:
parent
db267ae195
commit
24424a0486
@ -339,7 +339,7 @@ class TestSerializeStream:
|
|||||||
|
|
||||||
assert src_obj == dest_obj
|
assert src_obj == dest_obj
|
||||||
|
|
||||||
@pytest.mark.qt_log_ignore('^QIODevice::write: ReadOnly device')
|
@pytest.mark.qt_log_ignore('^QIODevice::write.*: ReadOnly device')
|
||||||
def test_serialize_readonly_stream(self):
|
def test_serialize_readonly_stream(self):
|
||||||
"""Test serialize_stream with a read-only stream."""
|
"""Test serialize_stream with a read-only stream."""
|
||||||
data = QByteArray()
|
data = QByteArray()
|
||||||
@ -349,7 +349,7 @@ class TestSerializeStream:
|
|||||||
assert str(excinfo.value) == ("The data stream cannot write to the "
|
assert str(excinfo.value) == ("The data stream cannot write to the "
|
||||||
"underlying device.")
|
"underlying device.")
|
||||||
|
|
||||||
@pytest.mark.qt_log_ignore('QIODevice::read: WriteOnly device')
|
@pytest.mark.qt_log_ignore('QIODevice::read.*: WriteOnly device')
|
||||||
def test_deserialize_writeonly_stream(self):
|
def test_deserialize_writeonly_stream(self):
|
||||||
"""Test deserialize_stream with a write-only stream."""
|
"""Test deserialize_stream with a write-only stream."""
|
||||||
data = QByteArray()
|
data = QByteArray()
|
||||||
|
Loading…
Reference in New Issue
Block a user