Skip to content

Commit

Permalink
Fix test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed Nov 20, 2024
1 parent 5bd188b commit c6420e7
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions dulwich/tests/test_object_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

"""Tests for the object store interface."""

from typing import TYPE_CHECKING
from typing import TYPE_CHECKING, Callable, Any
from unittest import skipUnless

from dulwich.index import commit_tree
Expand Down Expand Up @@ -53,20 +53,11 @@
class ObjectStoreTests:
store: "BaseObjectStore"

def assertEqual(self, a, b) -> None:
raise NotImplementedError

def assertRaises(self, exc, func) -> None:
raise NotImplementedError

def assertNotIn(self, a, b) -> None:
raise NotImplementedError

def assertNotEqual(self, a, b) -> None:
raise NotImplementedError

def assertIn(self, a, b) -> None:
raise NotImplementedError
assertEqual: Callable[[object, object], None]
assertRaises: Callable[[type[Exception], Callable[[], Any]], None]
assertNotIn: Callable[[object, object], None]
assertNotEqual: Callable[[object, object], None]
assertIn: Callable[[object, object], None]

def test_determine_wants_all(self) -> None:
self.assertEqual(
Expand Down

0 comments on commit c6420e7

Please sign in to comment.