Skip to content

Commit 267c172

Browse files
committed
fix
1 parent 8e8baf2 commit 267c172

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/test_carddav_object.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,5 @@ def test_dicts_are_keyed_by_the_first_key(self) -> None:
8080

8181
def test_all_strings_are_sorted_before_dicts(self) -> None:
8282
my_list = ["a", {"c": "d"}, "e", {"f": "g"}]
83-
my_list.sort(key=multi_property_key)
83+
my_list.sort(key=multi_property_key) # type: ignore[arg-type]
8484
self.assertEqual(my_list, ["a", "e", {"c": "d"}, {"f": "g"}])

test/test_yaml_editable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def test_unsupported_private_objects_can_be_added_but_not_retrieved(self) -> Non
8080
ye = TestYAMLEditable()
8181
ye.supported_private_objects = ["foo"]
8282
ye._add_private_object("foo", "bar")
83-
ye._add_private_object("bar", "foo") # type: ignore[arg-type]
83+
ye._add_private_object("bar", "foo")
8484
self.assertEqual(ye._get_private_objects(), {"foo": ["bar"]})
8585
self.assertIn("X-BAR:foo", ye.vcard.serialize())
8686

0 commit comments

Comments
 (0)