[issue9115] test_site: support for systems without unsetenv

2011-01-03 Thread Zsolt Cserna

Zsolt Cserna zsolt.cse...@morganstanley.com added the comment:

I confirm that this patch fixes the problem. Thanks.

On my systems I haven't seen other bugs related to unsetenv - however, it might 
be useful to fix subprocess.Popen and subprocess.call to use the os.environ by 
default (but this would be another request or discussion).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9115
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9115] test_site: support for systems without unsetenv

2011-01-03 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

Fixed in r87691 (py3k), r87693 (3.1) and r87694 (2.7), thanks!

--
resolution:  - fixed
stage: patch review - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9115
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9115] test_site: support for systems without unsetenv

2010-12-25 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

Attached patch uses a copy of os.environ, like other tests already do.  Can you 
test it?

Also, is the lack of unsetenv a problem only for test_s_option?  If not, we 
should fix the test infrastructure, not each test.

--
nosy: +eric.araujo
stage:  - patch review
versions: +Python 3.1, Python 3.2
Added file: http://bugs.python.org/file20167/fix-9115.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9115
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9115] test_site: support for systems without unsetenv

2010-06-29 Thread Zsolt Cserna

New submission from Zsolt Cserna zsolt.cse...@morganstanley.com:

On systems where there's no unsetenv function (for example solaris 8), 
test_site fails because the PYTHONUSERBASE environment variable remains set to 
xoxo (set in the previous tests).

This results a failed test_s_option test.

--
components: Tests
files: test_site.py.diff
keywords: patch
messages: 108910
nosy: csernazs
priority: normal
severity: normal
status: open
title: test_site: support for systems without unsetenv
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file17799/test_site.py.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9115
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com