Skip to content

Commit a5f0ef8

Browse files
authored
simplify version check
1 parent 67e4098 commit a5f0ef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_player.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def test_play_virtual(self):
6262
data=[0x5, 0xC, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0],
6363
)
6464
self.assertEqual(self.MockSleep.call_count, 2)
65-
if sys.version_info.major > 3 or sys.version_info.minor >= 8:
65+
if sys.version_info >= (3, 8):
6666
# The args argument was introduced with python 3.8
6767
self.assertTrue(
6868
msg1.equals(self.mock_virtual_bus.send.mock_calls[0].args[0])

0 commit comments

Comments
 (0)