# HG changeset patch # User Sylvain Thénault # Date 1267639061 -3600 # Node ID 89a7555020ba62e9fac2f41bfe91664599451972 # Parent 6ab9ca63531f5eebeaae8390a622d580a302c2b1 [test] get a chance to get proper garbage collection when running pytest on whole cw diff -r 6ab9ca63531f -r 89a7555020ba server/test/unittest_migractions.py --- a/server/test/unittest_migractions.py Wed Mar 03 18:56:37 2010 +0100 +++ b/server/test/unittest_migractions.py Wed Mar 03 18:57:41 2010 +0100 @@ -14,6 +14,11 @@ from cubicweb.server.sqlutils import SQL_PREFIX from cubicweb.server.migractions import * +migrschema = None +def teardown_module(*args): + global migrschema + del migrschema + del MigrationCommandsTC.origschema class MigrationCommandsTC(CubicWebTC):