summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>2007-03-09 16:36:12 +0100
committerAdrien Di Mascio <Adrien.DiMascio@logilab.fr>2007-03-09 16:36:12 +0100
commit79fa045ff9b9d5aec00ad1f2d266429d4678c31c (patch)
tree81f9b17f52b600ef3d221035b9592628a766b932
parentb822e4f214b2af86a51801b73d7ae0e04ad1f776 (diff)
downloadlogilab-common-79fa045ff9b9d5aec00ad1f2d266429d4678c31c.tar.gz
prints which test is being executed
-rw-r--r--pytest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pytest.py b/pytest.py
index 6457b77..a69d8fd 100644
--- a/pytest.py
+++ b/pytest.py
@@ -129,6 +129,7 @@ def testfile(filename, batchmode=False):
if dirname:
os.chdir(dirname)
modname = osp.basename(filename)[:-3]
+ print (' %s ' % osp.basename(filename)).center(70, '=')
try:
tstart, cstart = time(), clock()
testprog = testlib.unittest_main(modname, batchmode=batchmode)