On Sun, Dec 9, 2018 at 6:27 PM Ronny Pfannschmidt <
opensou...@ronnypfannschmidt.de> wrote:
> Am Sonntag, den 09.12.2018, 17:55 -0200 schrieb Bruno Oliveira:
>
>
>
> On Sun, Dec 9, 2018 at 4:35 PM Oscar Benjamin
> wrote:
>
> It's not a huge problem. If it were possible to set them in
> conftest.p
Am Sonntag, den 09.12.2018, 17:55 -0200 schrieb Bruno Oliveira:
> On Sun, Dec 9, 2018 at 4:35 PM Oscar Benjamin <
> oscar.j.benja...@gmail.com> wrote:
> > It's not a huge problem. If it were possible to set them in
> >
> > conftest.py I'd rather do that because the pytest.ini doesn't exist
> >
>
On Sun, Dec 9, 2018 at 4:35 PM Oscar Benjamin
wrote:
> It's not a huge problem. If it were possible to set them in
> conftest.py I'd rather do that because the pytest.ini doesn't exist
> yet and I'd like to keep everything in one file if possible.
>
> I spent a little time trying to work out if w
On Sun, 9 Dec 2018 at 16:31, Bruno Oliveira wrote:
>
> Hi Oscar,
Hi Bruno,
> On Sun, Dec 9, 2018 at 12:30 PM Oscar Benjamin
> wrote:
>>
>> Is there any way to set those doctest option flags in conftest.py
>> rather than pytest.ini?
>
> Currently those options are only possible to be set in pyt
Hi Oscar,
On Sun, Dec 9, 2018 at 12:30 PM Oscar Benjamin
wrote:
> Is there any way to set those doctest option flags in conftest.py
> rather than pytest.ini?
>
Currently those options are only possible to be set in pytest.ini, I'm
afraid. Any reason why is that a problem though?
Cheers,
Bruno
On Sun, 9 Dec 2018 at 08:47, Ronny Pfannschmidt
wrote:
>
> As for the output variant, how does sympy decide which one to use,
> does the issue happen when the `-s` flag of pytest is used.
Yes it does but actually this is a good point. The pprint function
being used there is sympy's own pprint and
Hi Oscar,
the doctest plugin inside of pytest is mostly a barebones integration
of the doctest module of the stdlib, adding the pytest extras by adding
onto the default globals of doctest.
As for the output variant, how does sympy decide which one to use,
does the issue happen when the `-s` flag
Hi all,
I'm trying to make it possible to use pytest with SymPy. I'm mostly
there for the main tests now and the next step is to try and get it
working for the doctests. Currently SymPy has it's own test runner
which runs the doctests but it works a little differently from the
standard doctests.