testsuite: Remove print statements

This commit is contained in:
Edward Hervey 2011-08-11 16:28:14 +02:00
parent 672d491fc8
commit b1bc668bec
2 changed files with 0 additions and 2 deletions

View file

@ -96,7 +96,6 @@ class TestCase(unittest.TestCase):
objs = [o for o in gc.get_objects() if isinstance(o, c)] objs = [o for o in gc.get_objects() if isinstance(o, c)]
new.extend([o for o in objs if o not in self._tracked[c]]) new.extend([o for o in objs if o not in self._tracked[c]])
print new
self.failIf(new, new) self.failIf(new, new)
#self.failIf(new, ["%r:%d" % (type(o), id(o)) for o in new]) #self.failIf(new, ["%r:%d" % (type(o), id(o)) for o in new])
del self._tracked del self._tracked

View file

@ -11,7 +11,6 @@ def gettestnames(which):
if not which: if not which:
dir = os.path.split(os.path.abspath(__file__))[0] dir = os.path.split(os.path.abspath(__file__))[0]
which = [os.path.basename(p) for p in glob.glob('%s/test_*.py' % dir)] which = [os.path.basename(p) for p in glob.glob('%s/test_*.py' % dir)]
print which
names = map(lambda x: x[:-3], which) names = map(lambda x: x[:-3], which)
for f in SKIP_FILES: for f in SKIP_FILES: