diff options
-rw-r--r-- | pym/portage/tests/emerge/test_simple.py | 2 | ||||
-rw-r--r-- | pym/portage/tests/repoman/test_simple.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/tests/emerge/test_simple.py b/pym/portage/tests/emerge/test_simple.py index c8f150ac0..971193f93 100644 --- a/pym/portage/tests/emerge/test_simple.py +++ b/pym/portage/tests/emerge/test_simple.py @@ -91,7 +91,7 @@ class SimpleEmergeTestCase(TestCase): if pythonpath is not None and not pythonpath.strip(): pythonpath = None if pythonpath is not None and \ - pythonpath.startswith(PORTAGE_PYM_PATH + ":"): + pythonpath.split(":")[0] == PORTAGE_PYM_PATH: pass else: if pythonpath is None: diff --git a/pym/portage/tests/repoman/test_simple.py b/pym/portage/tests/repoman/test_simple.py index ba5014777..bfc32fc2a 100644 --- a/pym/portage/tests/repoman/test_simple.py +++ b/pym/portage/tests/repoman/test_simple.py @@ -117,7 +117,7 @@ class SimpleRepomanTestCase(TestCase): if pythonpath is not None and not pythonpath.strip(): pythonpath = None if pythonpath is not None and \ - pythonpath.startswith(PORTAGE_PYM_PATH + ":"): + pythonpath.split(":")[0] == PORTAGE_PYM_PATH: pass else: if pythonpath is None: |