diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-12-15 19:11:53 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-12-15 19:11:53 -0800 |
commit | b7aa8acf8f353c11e622692a863716966eacad6f (patch) | |
tree | b2bb544981a1640b1079fb2c8596d2cf775e8443 /pym/portage/tests/runTests | |
parent | 9c2990c593d739f19e85415b841273c74e54911d (diff) | |
download | portage-b7aa8acf8f353c11e622692a863716966eacad6f.tar.gz portage-b7aa8acf8f353c11e622692a863716966eacad6f.tar.bz2 portage-b7aa8acf8f353c11e622692a863716966eacad6f.zip |
data.py: tweak getgrnam call for PyPy
This makes it unnecessary to explicitly call portage.data._init() in
runTests, and fixes some other cases that trigger the same issue.
Diffstat (limited to 'pym/portage/tests/runTests')
-rwxr-xr-x | pym/portage/tests/runTests | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pym/portage/tests/runTests b/pym/portage/tests/runTests index 0c476b3eb..4c1008708 100755 --- a/pym/portage/tests/runTests +++ b/pym/portage/tests/runTests @@ -30,10 +30,6 @@ import portage # work the same regardless of global configuration file state/existence. portage._disable_legacy_globals() -# Somehow this prevents "TypeError: expected string" errors -# from grp.getgrnam() with PyPy 1.7 -portage.data._init(os.environ) - import portage.tests as tests from portage.const import PORTAGE_BIN_PATH path = os.environ.get("PATH", "").split(":") |