Forráskód Böngészése

test_objects: Remove unnecessary file writing.

Dave Borowitz 14 éve
szülő
commit
25f375d201
1 módosított fájl, 0 hozzáadás és 1 törlés
  1. 0 1
      dulwich/tests/test_objects.py

+ 0 - 1
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)