summaryrefslogtreecommitdiff
path: root/testlib.py
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2010-11-02 11:53:01 +0100
committerEmile Anclin <emile.anclin@logilab.fr>2010-11-02 11:53:01 +0100
commit1546589bda1276d257a70b2962edfed5a594ba36 (patch)
tree55c82b704188be60ed9a8df80759d27f7417a79e /testlib.py
parentbd987a6b19bd6606d0c9ef7fe9d00174cce68bca (diff)
downloadlogilab-common-1546589bda1276d257a70b2962edfed5a594ba36.tar.gz
py3k: rename file; write a compat.reload
Diffstat (limited to 'testlib.py')
-rw-r--r--testlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testlib.py b/testlib.py
index e17b427..b1474ad 100644
--- a/testlib.py
+++ b/testlib.py
@@ -1935,7 +1935,7 @@ def create_files(paths, chroot):
if not osp.isdir(dirpath):
os.makedirs(dirpath)
for filepath in files:
- file(filepath, 'w').close()
+ open(filepath, 'w').close()
def enable_dbc(*args):
"""