first round of fixing jython compatibility issues, marking some tests as xfail-on-jython

--HG--
branch : trunk
This commit is contained in:
holger krekel
2009-10-27 21:34:11 +01:00
parent 33bd39053f
commit d2e6cd0523
11 changed files with 46 additions and 8 deletions

View File

@@ -384,7 +384,7 @@ raise ValueError()
def test_repr_local(self):
p = FormattedExcinfo(showlocals=True)
loc = {'y': 5, 'z': 7, 'x': 3, '__builtins__': __builtins__}
loc = {'y': 5, 'z': 7, 'x': 3, '__builtins__': {}} # __builtins__}
reprlocals = p.repr_locals(loc)
assert reprlocals.lines
assert reprlocals.lines[0] == '__builtins__ = <builtins>'