StefanBRas
StefanBRas
Since poetry gives a warning when it overwrites a file, I'd say that the expected behavior is that the last file "wins" - knowing that this is not optimal. Does...
Would it not be the same if I just changed it to not overwrite but just ignore the file? Then it would be "first file wins" and since the order...
Would you accept a PR that made the formatting optional? That way users can still compile without having to install black and isort and then just run their own formatting...
> - creating data synthesis strategies for polars: https://github.com/unionai-oss/pandera/blob/main/pandera/strategies/pandas_strategies.py Polars themselves ship data synthesis functions for use with `hypothesis`: [Api reference link](https://pola-rs.github.io/polars/py-polars/html/reference/testing.html#property-based-testing).
From a quick view it looks like `ward` will modify `assert` statements into its own assert functions from `ward.expect`. However this probably only happens inside functions decorated with `@test`. You...
I'm having a similar problem for a FastApi generated OpenApi schema.
@phryneas I would prefer option two her - preferably integrated in a configuration file.
As a workaround, you can set an env var and then wrap property decorators like so: ```python import unittest from time import sleep import pytest import os @pytest.fixture(autouse=True, scope='session') def...
Yes, they get deleted between tests. ```python def test_1(pytester: Pytester): pytester.makepyfile( """ def test_1(tmp_path): (tmp_path / "file.txt").touch() assert (tmp_path / "file.txt").exists() """ ) pytester.runpytest().assert_outcomes(passed=1) def test_2(pytester: Pytester): pytester.plugins = ["xdist"]...
If anyone else has them same issue, I ended up just setting `--basetemp` to `tmp_path`: ```python def test(pytester: Pytester, tmp_path): pytester.runpytest("--basetemp", str(tmp_path)) ```