diff --git a/qtpy/tests/test_qtnetwork.py b/qtpy/tests/test_qtnetwork.py
index <HASH>..<HASH> 100644
--- a/qtpy/tests/test_qtnetwork.py
+++ b/qtpy/tests/test_qtnetwork.py
@@ -4,7 +4,7 @@ import pytest
 from qtpy import PYSIDE, PYSIDE2, QtNetwork
 
 
-@pytest.mark.skipif(PYSIDE, reason="It fails on PySide/PySide2")
+@pytest.mark.skipif(PYSIDE2 or PYSIDE, reason="It fails on PySide/PySide2")
 def test_qtnetwork():
     """Test the qtpy.QtNetwork namespace"""
     assert QtNetwork.QAbstractNetworkCache is not None
Revert change in tests for QtNetwork