Skip to content

Commit

Permalink
Merge branch 'main' into downgrade-furo
Browse files Browse the repository at this point in the history
  • Loading branch information
cooperlees committed Sep 10, 2023
2 parents 36fe6f0 + 4eebfd1 commit 2e86ffa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_black.py
Original file line number Diff line number Diff line change
Expand Up @@ -1985,6 +1985,7 @@ def test_cache_multiple_files(self) -> None:
assert not cache.is_changed(one)
assert not cache.is_changed(two)

@pytest.mark.incompatible_with_mypyc
@pytest.mark.parametrize("color", [False, True], ids=["no-color", "with-color"])
def test_no_cache_when_writeback_diff(self, color: bool) -> None:
mode = DEFAULT_MODE
Expand Down Expand Up @@ -2046,6 +2047,7 @@ def test_write_cache_read_cache(self) -> None:
read_cache = black.Cache.read(mode)
assert not read_cache.is_changed(src)

@pytest.mark.incompatible_with_mypyc
def test_filter_cached(self) -> None:
with TemporaryDirectory() as workspace:
path = Path(workspace)
Expand Down

0 comments on commit 2e86ffa

Please sign in to comment.