summaryrefslogtreecommitdiff
path: root/tests/13_test_gbp_pq.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/13_test_gbp_pq.py')
-rw-r--r--tests/13_test_gbp_pq.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/13_test_gbp_pq.py b/tests/13_test_gbp_pq.py
index d9fa375..57ce83b 100644
--- a/tests/13_test_gbp_pq.py
+++ b/tests/13_test_gbp_pq.py
@@ -121,7 +121,7 @@ class TestWritePatch(testutils.DebianGitTestRepo):
expected = os.path.join(str(d), 'gbptest', 'added-foo.patch')
self.assertTrue(os.path.exists(expected))
- logging.debug(file(expected).read())
+ logging.debug(open(expected).read())
# Reapply the patch to a new branch
self.repo.create_branch('testapply', 'HEAD^')