--- a/cubicweb/test/unittest_cwconfig.py Thu Feb 15 14:19:15 2018 +0100
+++ b/cubicweb/test/unittest_cwconfig.py Thu Feb 15 14:20:11 2018 +0100
@@ -38,16 +38,6 @@
CubicWebConfiguration, _expand_modname)
-def unabsolutize(path):
- parts = path.split(os.sep)
- for i, part in reversed(tuple(enumerate(parts))):
- if part.startswith('cubicweb_'):
- return os.sep.join([part[len('cubicweb_'):]] + parts[i + 1:])
- if part.startswith('cubicweb') or part == 'legacy_cubes':
- return os.sep.join(parts[i + 1:])
- raise Exception('duh? %s' % path)
-
-
def templibdir(func):
"""create a temporary directory and insert it in sys.path"""
@functools.wraps(func)