move the old assertion reinterpreting implementation to _assertionold.py

Also, seperate out some common code from the two.

--HG--
branch : trunk
This commit is contained in:
Benjamin Peterson
2009-08-28 20:13:49 -05:00
parent 130046d245
commit e596d9df13
6 changed files with 92 additions and 81 deletions

View File

@@ -1,5 +1,5 @@
import py
from py.__.code._assertion import View
from py.__.code._assertionold import View
def exvalue():
return py.std.sys.exc_info()[1]