use py.builtin.builtins instead of import test

--HG--
branch : trunk
This commit is contained in:
Benjamin Peterson 2009-08-29 15:18:21 -05:00
parent 59892b8532
commit c95504e738
1 changed files with 1 additions and 5 deletions

View File

@ -1,11 +1,7 @@
try:
import __builtin__ as builtins
except ImportError:
import builtins
import sys
import py
BuiltinAssertionError = builtins.AssertionError
BuiltinAssertionError = py.builtin.builtins.AssertionError
def _format_explanation(explanation):