summaryrefslogtreecommitdiff
path: root/gr-blocks/python
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/python')
-rwxr-xr-xgr-blocks/python/blocks/qa_pdu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-blocks/python/blocks/qa_pdu.py b/gr-blocks/python/blocks/qa_pdu.py
index 81cd8cf71c..5a29e04735 100755
--- a/gr-blocks/python/blocks/qa_pdu.py
+++ b/gr-blocks/python/blocks/qa_pdu.py
@@ -48,7 +48,7 @@ class test_pdu(gr_unittest.TestCase):
# Test that the right number of ports exist.
pi = snk3.message_ports_in()
po = snk3.message_ports_out()
- self.assertEqual(pmt.length(pi), 0)
+ self.assertEqual(pmt.length(pi), 1) #system port is defined automatically
self.assertEqual(pmt.length(po), 1)
self.tb.connect(src, snk)