From 549ff82cfcc23393873b0c0aef6e8ad47855227e Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Sat, 2 Sep 2017 16:37:20 -0700 Subject: [PATCH] this comment is stale, I added the test_waitfor to test it and verified that it works properly... --- yadenon.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/yadenon.py b/yadenon.py index 0edd468..1dff615 100644 --- a/yadenon.py +++ b/yadenon.py @@ -231,11 +231,6 @@ class DenonAVR(object,basic.LineReceiver): cmd = resp[:2] self._cmdswaiting.setdefault(cmd, []).append(d) - # XXX - not sure how to test this code to ensure that - # d isn't triggered till resp is received - # if resp is changed to cmd, test_update still passes, - # though it shouldn't. - # Probably need to if len(resp) > 2: @inlineCallbacks def extraresp(d=d):