X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/00a302560b92951c22f0f4c8d618cf63de39bd57..041ec995e5165bc6f7b801a5aa2aba53e6980c1e:/tests/test_black.py diff --git a/tests/test_black.py b/tests/test_black.py index 1f93e6a..0645525 100644 --- a/tests/test_black.py +++ b/tests/test_black.py @@ -856,10 +856,10 @@ class BlackTestCase(unittest.TestCase): cached_but_changed.touch() cache = {cached: black.get_cache_info(cached), cached_but_changed: (0.0, 0)} todo, done = black.filter_cached( - cache, [uncached, cached, cached_but_changed] + cache, {uncached, cached, cached_but_changed} ) - self.assertEqual(todo, [uncached, cached_but_changed]) - self.assertEqual(done, [cached]) + self.assertEqual(todo, {uncached, cached_but_changed}) + self.assertEqual(done, {cached}) def test_write_cache_creates_directory_if_needed(self) -> None: mode = black.FileMode.AUTO_DETECT