move down py/impl/XYZ to py/_XYZ

--HG--
branch : trunk
This commit is contained in:
holger krekel
2010-01-13 17:15:54 +01:00
parent 5c27076d32
commit 9da1ba40ed
132 changed files with 229 additions and 231 deletions

View File

@@ -1,7 +1,7 @@
from __future__ import generators
import py
import sys
from py.impl.code.code import safe_repr
from py._code.code import safe_repr
failsonjython = py.test.mark.xfail("sys.platform.startswith('java')")
@@ -163,7 +163,7 @@ class TestSafeRepr:
assert 'TypeError' in safe_repr(BrokenRepr("string"))
def test_big_repr(self):
from py.impl.code.code import SafeRepr
from py._code.code import SafeRepr
assert len(safe_repr(range(1000))) <= \
len('[' + SafeRepr().maxlist * "1000" + ']')