From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Sun, 10 Sep 2023 14:53:27 +0000 (-0700) Subject: Add mypyc test marks to new tests that patch (#3871) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/4eebfd1a7a4aa2652cfc674cf301d1f2f48098aa Add mypyc test marks to new tests that patch (#3871) This is enough for me to get a clean test run on Python 3.9 with mypyc. I have not been able to repro the pickle failures on either Linux or macOS. --- diff --git a/tests/test_black.py b/tests/test_black.py index 4fb6aef..badb8ff 100644 --- a/tests/test_black.py +++ b/tests/test_black.py @@ -1985,6 +1985,7 @@ class TestCaching: 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 @@ -2046,6 +2047,7 @@ class TestCaching: 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)