diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-11-06 10:34:32 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-11-06 10:34:32 +0100 |
commit | d2ff5822dbefa1c9c8177cbf9f0879c5cf4efc5c (patch) | |
tree | 5e1c559f6fb090a6e8affe43bc3aca8b0aef1e4a /test/testlib/helper.py | |
parent | e0f2bb42b56f770c50a6ef087e9049fa6ac11fb5 (diff) | |
download | gitpython-d2ff5822dbefa1c9c8177cbf9f0879c5cf4efc5c.tar.gz |
Index tests adopted to windows - especially the symlink test needed adjustment, but it works as expected even on systems that do not support symlinks
Diffstat (limited to 'test/testlib/helper.py')
-rw-r--r-- | test/testlib/helper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testlib/helper.py b/test/testlib/helper.py index 25b183a3..e33961a7 100644 --- a/test/testlib/helper.py +++ b/test/testlib/helper.py @@ -17,7 +17,7 @@ def fixture_path(name): return os.path.join(test_dir, "fixtures", name) def fixture(name): - return open(fixture_path(name)).read() + return open(fixture_path(name), 'rb').read() def absolute_project_path(): return os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..")) |