diff options
Diffstat (limited to 'gnuradio-runtime/python/gnuradio/gr/qa_prefs.py')
-rw-r--r-- | gnuradio-runtime/python/gnuradio/gr/qa_prefs.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnuradio-runtime/python/gnuradio/gr/qa_prefs.py b/gnuradio-runtime/python/gnuradio/gr/qa_prefs.py index fcda8f7b53..f5a8c93baf 100644 --- a/gnuradio-runtime/python/gnuradio/gr/qa_prefs.py +++ b/gnuradio-runtime/python/gnuradio/gr/qa_prefs.py @@ -9,9 +9,9 @@ # - from gnuradio import gr, gr_unittest + class test_prefs (gr_unittest.TestCase): def test_001(self): @@ -21,7 +21,9 @@ class test_prefs (gr_unittest.TestCase): self.assertFalse(p.has_option('doesnt', 'exist')) # At the time these tests are run, there is not necessarily a default - # configuration on the build system, so not much to do with testing here + # configuration on the build system, so not much to do with testing + # here + if __name__ == '__main__': gr_unittest.run(test_prefs) |