diff options
author | Daniel Neuhäuser <ich@danielneuhaeuser.de> | 2010-05-24 17:35:43 +0200 |
---|---|---|
committer | Daniel Neuhäuser <ich@danielneuhaeuser.de> | 2010-05-24 17:35:43 +0200 |
commit | f8b12a45dae561b611769bd4f1cd231497d7c2b6 (patch) | |
tree | 30c5b4072b46323475f44d5bac17f191c3140da9 /tests/path.py | |
parent | a83c48ec8a5f275c5ecb67251945eb454969ef90 (diff) | |
download | sphinx-git-f8b12a45dae561b611769bd4f1cd231497d7c2b6.tar.gz |
use open instead of file
Diffstat (limited to 'tests/path.py')
-rw-r--r-- | tests/path.py | 2 |
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. """ |