dulwich-users team mailing list archive
-
dulwich-users team
-
Mailing list archive
-
Message #00142
[PATCH 1/9] test_objects: Remove unnecessary file writing.
From: Dave Borowitz <dborowitz@xxxxxxxxxx>
Change-Id: Ie3a6a0a191974d1260cfc36aa351d86a65c09a84
---
dulwich/tests/test_objects.py | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/dulwich/tests/test_objects.py b/dulwich/tests/test_objects.py
index 519f5f7..839e097 100644
--- 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)
--
1.7.1
References