0001import os
0002from os.path import dirname, join
0003import sys
0004sys.path.insert(0, join(dirname(__file__), '../..'))
0005
0006def teardown():
0007    # common file used by doctest examples :
0008    t = '/tmp/testtools_example.csv'
0009    if os.path.exists(t):
0010        try:
0011            os.unlink(t)
0012        except OSError:
0013            pass