diff --git a/bytecode/tests/__init__.py b/bytecode/tests/__init__.py
index <HASH>..<HASH> 100644
--- a/bytecode/tests/__init__.py
+++ b/bytecode/tests/__init__.py
@@ -36,7 +36,7 @@ def _format_instr_list(block, labels, lineno):
         instr_list.append(text)
     return '[%s]'  % ',\n '.join(instr_list)
 
-def dump_code(code, lineno=True):
+def dump_bytecode(code, lineno=True):
     """
     Use this function to write unit tests: copy/paste its output to
     write a self.assertBlocksEqual() check.
tests: rename dump_code to dump_bytecode