summaryrefslogtreecommitdiff
path: root/tests/path.py
diff options
context:
space:
mode:
authorDaniel Neuhäuser <ich@danielneuhaeuser.de>2010-05-24 17:35:43 +0200
committerDaniel Neuhäuser <ich@danielneuhaeuser.de>2010-05-24 17:35:43 +0200
commitf8b12a45dae561b611769bd4f1cd231497d7c2b6 (patch)
tree30c5b4072b46323475f44d5bac17f191c3140da9 /tests/path.py
parenta83c48ec8a5f275c5ecb67251945eb454969ef90 (diff)
downloadsphinx-git-f8b12a45dae561b611769bd4f1cd231497d7c2b6.tar.gz
use open instead of file
Diffstat (limited to 'tests/path.py')
-rw-r--r--tests/path.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/path.py b/tests/path.py
index 7b89c0cd3..f27e58a9d 100644
--- a/tests/path.py
+++ b/tests/path.py
@@ -516,7 +516,7 @@ class path(_base):
def open(self, mode='r'):
""" Open this file. Return a file object. """
- return file(self, mode)
+ return open(self, mode)
def bytes(self):
""" Open this file, read all bytes, return them as a string. """