use py.builtin.builtins instead of import test
--HG-- branch : trunk
This commit is contained in:
parent
59892b8532
commit
c95504e738
|
@ -1,11 +1,7 @@
|
||||||
try:
|
|
||||||
import __builtin__ as builtins
|
|
||||||
except ImportError:
|
|
||||||
import builtins
|
|
||||||
import sys
|
import sys
|
||||||
import py
|
import py
|
||||||
|
|
||||||
BuiltinAssertionError = builtins.AssertionError
|
BuiltinAssertionError = py.builtin.builtins.AssertionError
|
||||||
|
|
||||||
|
|
||||||
def _format_explanation(explanation):
|
def _format_explanation(explanation):
|
||||||
|
|
Loading…
Reference in New Issue