소스 검색

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)