diff options
Diffstat (limited to 'gr-analog/python/analog/qa_pll_refout.py')
-rwxr-xr-x | gr-analog/python/analog/qa_pll_refout.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gr-analog/python/analog/qa_pll_refout.py b/gr-analog/python/analog/qa_pll_refout.py index 741b4d3704..f85a027aa3 100755 --- a/gr-analog/python/analog/qa_pll_refout.py +++ b/gr-analog/python/analog/qa_pll_refout.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright 2004,2010,2012 Free Software Foundation, Inc. +# Copyright 2004,2010,2012,2013 Free Software Foundation, Inc. # # This file is part of GNU Radio # @@ -22,7 +22,7 @@ import math -from gnuradio import gr, gr_unittest, analog +from gnuradio import gr, gr_unittest, analog, blocks class test_pll_refout(gr_unittest.TestCase): @@ -143,8 +143,8 @@ class test_pll_refout(gr_unittest.TestCase): src = analog.sig_source_c(sampling_freq, analog.GR_COS_WAVE, freq, 1.0) pll = analog.pll_refout_cc(loop_bw, maxf, minf) - head = gr.head(gr.sizeof_gr_complex, int (freq)) - dst = gr.vector_sink_c() + head = blocks.head(gr.sizeof_gr_complex, int (freq)) + dst = blocks.vector_sink_c() self.tb.connect(src, pll, head) self.tb.connect(head, dst) |