Skip to content

Commit ce7105e

Browse files
Fix GitHub CI: ininstance check
1 parent 88ab064 commit ce7105e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_pci.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ def test_videoclass_by_mock_calls(fp):
166166
def mock_lspci_using_open_testfile(fp):
167167
"""Mock xcp.pci.PCIDevices.Popen() using open(tests/data/lspci-mn)"""
168168
with open("tests/data/lspci-mn", "rb") as fake_data:
169-
if sys.version_info >= (3, 6):
170-
assert isinstance(fp, FakeProcess)
169+
assert isinstance(fp, FakeProcess)
171170
fp.register_subprocess(["lspci", "-mn"], stdout=fake_data.read())
172171
return PCIDevices()

0 commit comments

Comments
 (0)