git.samba.org
/
jelmer
/
dulwich-libgit2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad1b074
)
test_objects: Remove unnecessary file writing.
author
Dave Borowitz
<dborowitz@google.com>
Mon, 26 Jul 2010 17:16:11 +0000
(19:16 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Mon, 26 Jul 2010 17:16:11 +0000
(19:16 +0200)
dulwich/tests/test_objects.py
patch
|
blob
|
history
diff --git
a/dulwich/tests/test_objects.py
b/dulwich/tests/test_objects.py
index 519f5f78c485bbd6a3c5c9f46f8fcb4cb5223cfe..839e097f95c390a130d60d8262a8c666ece05f5b 100644
(file)
--- a/
dulwich/tests/test_objects.py
+++ b/
dulwich/tests/test_objects.py
@@
-151,7
+151,6
@@
class BlobReadTests(TestCase):
def test_legacy_from_file(self):
b1 = Blob.from_string("foo")
b_raw = b1.as_legacy_object()
- open('x', 'w+').write(b_raw)
b2 = b1.from_file(StringIO(b_raw))
self.assertEquals(b1, b2)