diff --git a/python/paddle/v2/plot/tests/test_ploter.py b/python/paddle/v2/plot/tests/test_ploter.py index 37edb11b52..a75f853ed9 100644 --- a/python/paddle/v2/plot/tests/test_ploter.py +++ b/python/paddle/v2/plot/tests/test_ploter.py @@ -35,5 +35,6 @@ class TestCommon(unittest.TestCase): self.assertEqual(plot_test.__plot_data__[title2].step, []) self.assertEqual(plot_test.__plot_data__[title2].value, []) + if __name__ == '__main__': unittest.main()