diff options
Diffstat (limited to 'tests/07_test_fastimport.py')
-rw-r--r-- | tests/07_test_fastimport.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/07_test_fastimport.py b/tests/07_test_fastimport.py index 42824f9..0a14d38 100644 --- a/tests/07_test_fastimport.py +++ b/tests/07_test_fastimport.py @@ -38,7 +38,7 @@ def test_add_file(): fastimport.deleteall() testfile = os.path.join(repo.path, '.git', 'description') fastimport.add_file('./testfile', - file(testfile), + open(testfile), os.path.getsize(testfile)) def test_add_symlink(): |