瀏覽代碼

test_objects: Remove unnecessary file writing.

Dave Borowitz 14 年之前
父節點
當前提交
25f375d201
共有 1 個文件被更改,包括 0 次插入1 次删除
  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)