test_objects: Remove unnecessary file writing.
[jelmer/dulwich-libgit2.git] / dulwich / tests / test_objects.py
index 519f5f78c485bbd6a3c5c9f46f8fcb4cb5223cfe..839e097f95c390a130d60d8262a8c666ece05f5b 100644 (file)
@@ -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)