Skip to content

Commit 18f6c5b

Browse files
committed
remove testing code now that py3.3-on-travis 2to3 bug is fixed
1 parent ea112e5 commit 18f6c5b

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

patsy/contrasts.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,6 @@ def test__obj_to_readable_str():
7878
def t(obj, expected):
7979
got = _obj_to_readable_str(obj)
8080
assert type(got) is str
81-
print "obj", repr(obj), obj
82-
print "expected", repr(expected), expected, [ord(c) for c in expected]
83-
print "got", repr(got), got, [ord(c) for c in got]
84-
if sys.version_info >= (3,) and isinstance(obj, bytes):
85-
try:
86-
print "obj.decode(utf-8)", repr(obj.decode("utf-8")), obj.decode("utf-8"), [ord(c) for c in obj.decode("utf-8")]
87-
except UnicodeDecodeError:
88-
print "obj.decode(utf-8) -> errored"
8981
assert got == expected
9082
t(1, "1")
9183
t(1.0, "1.0")

0 commit comments

Comments
 (0)