Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lucc committed Dec 16, 2024
1 parent 8e8baf2 commit 267c172
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/test_carddav_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,5 @@ def test_dicts_are_keyed_by_the_first_key(self) -> None:

def test_all_strings_are_sorted_before_dicts(self) -> None:
my_list = ["a", {"c": "d"}, "e", {"f": "g"}]
my_list.sort(key=multi_property_key)
my_list.sort(key=multi_property_key) # type: ignore[arg-type]
self.assertEqual(my_list, ["a", "e", {"c": "d"}, {"f": "g"}])
2 changes: 1 addition & 1 deletion test/test_yaml_editable.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def test_unsupported_private_objects_can_be_added_but_not_retrieved(self) -> Non
ye = TestYAMLEditable()
ye.supported_private_objects = ["foo"]
ye._add_private_object("foo", "bar")
ye._add_private_object("bar", "foo") # type: ignore[arg-type]
ye._add_private_object("bar", "foo")
self.assertEqual(ye._get_private_objects(), {"foo": ["bar"]})
self.assertIn("X-BAR:foo", ye.vcard.serialize())

Expand Down

0 comments on commit 267c172

Please sign in to comment.