Revision: 7701 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7701&view=rev Author: astraw Date: 2009-09-07 20:56:17 +0000 (Mon, 07 Sep 2009)
Log Message: ----------- testing: remove docstrings on tests, which makes easier discovery of test location Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/tests/test_axes.py trunk/matplotlib/lib/matplotlib/tests/test_basic.py trunk/matplotlib/lib/matplotlib/tests/test_dates.py Modified: trunk/matplotlib/lib/matplotlib/tests/test_axes.py =================================================================== --- trunk/matplotlib/lib/matplotlib/tests/test_axes.py 2009-09-07 20:27:44 UTC (rev 7700) +++ trunk/matplotlib/lib/matplotlib/tests/test_axes.py 2009-09-07 20:56:17 UTC (rev 7701) @@ -11,7 +11,6 @@ 'formatter_ticker_005', ]) def test_formatter_ticker(): - """Test Some formatter and ticker issues.""" import matplotlib.testing.jpl_units as units units.register() @@ -61,8 +60,6 @@ @image_comparison(baseline_images=['polar_axes']) def test_polar_annotations(): - """Polar Plot Annotations""" - # you can specify the xypoint and the xytext in different # positions and coordinate systems, and optionally turn on a # connecting line and mark the point with a marker. Annotations @@ -98,8 +95,6 @@ #-------------------------------------------------------------------- @image_comparison(baseline_images=['polar_coords']) def test_polar_coord_annotations(): - """Polar Coordinate Annotations""" - # You can also use polar notation on a catesian axes. Here the # native coordinate system ('data') is cartesian, so you need to # specify the xycoords and textcoords as 'polar' if you want to @@ -130,7 +125,6 @@ @image_comparison(baseline_images=['fill_units']) def test_fill_units(): - """Test the fill method with unitized-data.""" from datetime import datetime import matplotlib.testing.jpl_units as units units.register() @@ -172,7 +166,6 @@ @image_comparison(baseline_images=['single_point']) def test_single_point(): - """Test single-point plots.""" fig = pylab.figure() pylab.subplot( 211 ) pylab.plot( [0], [0], 'o' ) @@ -184,8 +177,6 @@ @image_comparison(baseline_images=['single_date']) def test_single_date(): - """Test single-point date plots.""" - time1=[ 721964.0 ] data1=[ -65.54 ] @@ -200,8 +191,6 @@ @image_comparison(baseline_images=['single_date']) def test_shaped_data(): - """Test numpy shaped data.""" - xdata = np.array([[ 0.53295185, 0.23052951, 0.19057629, 0.66724975, 0.96577916, 0.73136095, 0.60823287, 0.017921 , 0.29744742, 0.27164665], [ 0.2798012 , 0.25814229, 0.02818193, 0.12966456, 0.57446277, @@ -246,7 +235,6 @@ @image_comparison(baseline_images=['const_xy']) def test_const_xy(): - """Test constant xy data.""" fig = pylab.figure() pylab.subplot( 311 ) @@ -264,8 +252,6 @@ 'polar_wrap_360', ]) def test_polar_wrap(): - """Test polar plots where data crosses 0 degrees.""" - D2R = np.pi / 180.0 fig = pylab.figure() @@ -291,7 +277,6 @@ @image_comparison(baseline_images=['polar_units']) def test_polar_units(): - """Test polar plots with unitized data.""" import matplotlib.testing.jpl_units as units units.register() @@ -315,7 +300,6 @@ @image_comparison(baseline_images=['axvspan_epoch']) def test_axvspan_epoch(): - """Test the axvspan method with Epochs.""" from datetime import datetime import matplotlib.testing.jpl_units as units units.register() @@ -337,7 +321,6 @@ @image_comparison(baseline_images=['axhspan_epoch']) def test_axhspan_epoch(): - """Test the axhspan method with Epochs.""" from datetime import datetime import matplotlib.testing.jpl_units as units units.register() Modified: trunk/matplotlib/lib/matplotlib/tests/test_basic.py =================================================================== --- trunk/matplotlib/lib/matplotlib/tests/test_basic.py 2009-09-07 20:27:44 UTC (rev 7700) +++ trunk/matplotlib/lib/matplotlib/tests/test_basic.py 2009-09-07 20:56:17 UTC (rev 7701) @@ -2,10 +2,8 @@ from matplotlib.testing.decorators import knownfailureif def test_simple(): - '''very simple example test''' assert_equal(1+1,2) @knownfailureif(True) -def test_simple_fail(): - '''very simple example test that should fail''' +def test_simple_knownfail(): assert_equal(1+1,3) Modified: trunk/matplotlib/lib/matplotlib/tests/test_dates.py =================================================================== --- trunk/matplotlib/lib/matplotlib/tests/test_dates.py 2009-09-07 20:27:44 UTC (rev 7700) +++ trunk/matplotlib/lib/matplotlib/tests/test_dates.py 2009-09-07 20:56:17 UTC (rev 7701) @@ -115,7 +115,6 @@ @image_comparison(baseline_images=['DateFormatter_fractionalSeconds']) def test_DateFormatter(): - """Test DateFormatter""" import pylab from datetime import datetime import matplotlib.testing.jpl_units as units This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins