From 05cdf73cd68bdec9fd0b8cf33603a1f5a0e7999b Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 10 Feb 2015 21:12:08 -0500 Subject: Remove functions we're not using. --- coverage/backward.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'coverage/backward.py') diff --git a/coverage/backward.py b/coverage/backward.py index 5a323659..58d9cfea 100644 --- a/coverage/backward.py +++ b/coverage/backward.py @@ -71,10 +71,6 @@ if env.PY3: """Convert string `s` to bytes.""" return s.encode('utf8') - def to_string(b): - """Convert bytes `b` to a string.""" - return b.decode('utf8') - def binary_bytes(byte_values): """Produce a byte string with the ints from `byte_values`.""" return bytes(byte_values) @@ -93,10 +89,6 @@ else: """Convert string `s` to bytes (no-op in 2.x).""" return s - def to_string(b): - """Convert bytes `b` to a string (no-op in 2.x).""" - return b - def binary_bytes(byte_values): """Produce a byte string with the ints from `byte_values`.""" return "".join(chr(b) for b in byte_values) -- cgit v1.2.1