~ubuntu-branches/ubuntu/trusty/gnuradio/trusty-updates

« back to all changes in this revision

Viewing changes to gnuradio-core/src/python/gnuradio/gr/qa_vector_sink_source.py

  • Committer: Package Import Robot
  • Author(s): A. Maitland Bottoms
  • Date: 2012-02-26 21:26:16 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20120226212616-vsfkbi1158xshdql
Tags: 3.5.1-1
* new upstream version, re-packaged from scratch with modern tools
    closes: #642716, #645332, #394849, #616832, #590048, #642580,
    #647018, #557050, #559640, #631863
* CMake build

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/env python
2
2
#
3
 
# Copyright 2008 Free Software Foundation, Inc.
 
3
# Copyright 2008,2010 Free Software Foundation, Inc.
4
4
5
5
# This file is part of GNU Radio
6
6
23
23
from gnuradio import gr, gr_unittest
24
24
import math
25
25
 
26
 
class test_sink_source(gr_unittest.TestCase):
 
26
class test_vector_sink_source(gr_unittest.TestCase):
27
27
 
28
28
    def setUp (self):
29
29
        self.tb = gr.top_block ()
61
61
        self.assertRaises(ValueError, lambda : gr.vector_source_f(src_data, False, 3))
62
62
 
63
63
if __name__ == '__main__':
64
 
    gr_unittest.main ()
 
64
    gr_unittest.run(test_vector_sink_source, "test_vector_sink_source.xml")
65
65