From 36e8baab3612be28f925acd463f322ace044744d Mon Sep 17 00:00:00 2001 From: Vineet Date: Wed, 5 Feb 2014 22:44:42 +0530 Subject: [PATCH] Fix loading of the pickled fixture under py3 --- tests/pipdeptree_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pipdeptree_tests.py b/tests/pipdeptree_tests.py index 29b9a65..387815e 100644 --- a/tests/pipdeptree_tests.py +++ b/tests/pipdeptree_tests.py @@ -3,7 +3,7 @@ import pickle from pipdeptree import req_version, non_top_pkg_name, render_tree -with open('tests/pkgs.pickle') as f: +with open('tests/pkgs.pickle', 'rb') as f: pkgs = pickle.load(f)