Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r52934:b7200ae0e860
Date: 2012-02-27 14:20 +0100
http://bitbucket.org/pypy/pypy/changeset/b7200ae0e860/
Log: sys.setdefaultencoding is no longer there, use settrace for this
test
diff --git a/pypy/module/imp/test/test_import.py
b/pypy/module/imp/test/test_import.py
--- a/pypy/module/imp/test/test_import.py
+++ b/pypy/module/imp/test/test_import.py
@@ -553,14 +553,14 @@
import sys
oldpath = sys.path
try:
- del sys.setdefaultencoding
+ del sys.settrace
except AttributeError:
pass
reload(sys)
assert sys.path is oldpath
- assert 'setdefaultencoding' in dir(sys)
+ assert 'settrace' in dir(sys)
def test_reload_infinite(self):
import infinite_reload
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit