diff options
| author | Julian Andres Klode <jak@debian.org> | 2010-08-26 14:08:02 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2010-08-26 14:08:02 +0200 |
| commit | 1da80475cabf37da411aff8983d427773cfc0a80 (patch) | |
| tree | f62c9c8e2c850f771fd0fe788ffe2c814988f102 /tests/test_apt_cache.py | |
| parent | 0b0ab7a7f24f2d95e68c1e94e27feef7bc0fd13c (diff) | |
| download | python-apt-1da80475cabf37da411aff8983d427773cfc0a80.tar.gz | |
* tests/test_apt_cache.py:
- Do not insert ".." into sys.path, fixes FTBFS
Diffstat (limited to 'tests/test_apt_cache.py')
| -rw-r--r-- | tests/test_apt_cache.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_apt_cache.py b/tests/test_apt_cache.py index a43e92d2..81d64bc6 100644 --- a/tests/test_apt_cache.py +++ b/tests/test_apt_cache.py @@ -10,8 +10,9 @@ import os import tempfile import unittest +from test_all import get_library_dir import sys -sys.path.insert(0, "..") +sys.path.insert(0, get_library_dir()) import apt import apt_pkg |
