On 18 February 2016 at 15:44, Vaclav Petras <wenzesl...@gmail.com> wrote:
>
>
> The classmethods don't have self but they have cls. These are the variables
> you can set in the body of the class, e.g. mapsets_to_remove in the
> test_distr_tgis_db_raster3d.py test [1]. You can assign the value in the
> setUpClass method and use it in tearDownClass through the cls reference,
> e.g. cls.mapsets_to_remove.append(mapset_name).
>

thanks a lot, I'm blind :-), I looked that code before write this email.

However fixed in r67888.

> [1]
> https://trac.osgeo.org/grass/browser/grass/trunk/temporal/t.connect/testsuite/test_distr_tgis_db_raster3d.py?rev=67878#L19

-- 
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to