From 2e4b9ea77e31d608cb0d032e96fbb221d9b763d6 Mon Sep 17 00:00:00 2001 From: Kaliko Jack Date: Sun, 30 Mar 2025 11:21:14 +0200 Subject: [PATCH] More Range object test coverage --- test.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test.py b/test.py index 299b54a..4baaf36 100755 --- a/test.py +++ b/test.py @@ -728,8 +728,11 @@ class testRange(unittest.TestCase): # CommandError: Wrong range: 42 > 41 musicpd.Range(('42',41)) with self.assertRaises(musicpd.CommandError): - # CommandError: Wrong range: 42 > 41 + # CommandError: Wrong range dimension musicpd.Range(('42','42','42')) + with self.assertRaises(musicpd.CommandError): + # CommandError: Wrong type, not a tuple + musicpd.Range(['42', '43']) if __name__ == '__main__': -- 2.39.5