Gordon Wrigley

Results 74 comments of Gordon Wrigley

This seems related https://github.com/pytest-dev/pytest-django/issues/516

It would be nice if pytest-django translated one to the other. There are usecases where it's convenient that pytest is a no code change drop in replacement.

I case anyone else ends up here I have worked around it's absence by adding this to my top level conftest.py ``` def pytest_configure(config): from django.core import management management.call_command("check") ```

The --binary flag caused problems with blank lines in the patches, patch in general seems to have some kind of issue with blank lines and windows line endings, so instead...

Of course that might break things for people running on windows without mingw, although will patchy work at all for them?

I have been using that patch both in the windows environment and Ubuntu for over a year with no issues

I will do some further digging next time I have access to that machine. Specifically I'll try and determine if that line is running and also what is the last...

It fails here https://github.com/ahupp/python-magic/blob/2a755bed47e654d353f002eb2ee19820dc21d53a/magic.py#L189 At which point dll = "C:\Program Files\Git\usr\bin\msys-magic-1.dll" With python-magic-bin installed dll is "C:\redacted\site-packages\magic\libmagic\libmagic.dll" Wrapping that line in a try except print shows that there's a "OSError:...

Only that it seems like import lib converts the exception into a sys.exit

fwiw it looks like an AMD64 bit dll and it's python definitely reports AMD64