enable assertion reinterpretation on 3k

--HG--
branch : trunk
This commit is contained in:
holger krekel
2009-08-31 20:06:55 +02:00
parent c791610998
commit 54709bcae1
2 changed files with 3 additions and 7 deletions

View File

@@ -96,7 +96,7 @@ class TestFailing(object):
def test_reinterpret_fails_with_print_for_the_fun_of_it(self):
l = [1,2,3]
print "l is", l
print ("l is %r" % l)
a,b = l.pop()
def test_some_error(self):
@@ -113,7 +113,7 @@ def test_dynamic_compile_shows_nicely():
name = 'abc-123'
module = py.std.imp.new_module(name)
code = py.code.compile(src, name, 'exec')
exec code in module.__dict__
py.builtin.exec_(code, module.__dict__)
py.std.sys.modules[name] = module
module.foo()