@@ -28,7 +28,6 @@ Documentation/technical directory in the cgit distribution, and in particular:
import collections
import SocketServer
-import tempfile
from dulwich.errors import (
ApplyDeltaError,
@@ -25,7 +25,9 @@ import unittest
from dulwich.file import GitFile
+
class GitFileTests(unittest.TestCase):
def setUp(self):
self._tempdir = tempfile.mkdtemp()
f = open(self.path('foo'), 'wb')
@@ -20,7 +20,6 @@
"""Tests for the smart protocol server."""
-from cStringIO import StringIO
from unittest import TestCase
@@ -23,7 +23,6 @@ import re
from dulwich.objects import (
- type_map,
Tag,
Blob,
)
from cStringIO import StringIO
import cgi
-import os
import re
import time
@@ -28,11 +27,7 @@ from dulwich.objects import (
num_type_map,
-from dulwich.repo import (
- Repo,
- )
from dulwich.server import (
- GitBackend,
ReceivePackHandler,
UploadPackHandler,