<div dir="auto">I'm 99%sure that pip there is being run by a Python 2.x interpreter.</div><div class="gmail_extra"><br><div class="gmail_quote">On 5 May 2017 4:13 am, "David Palao" <<a href="mailto:dpalao.python@gmail.com">dpalao.python@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
Sorry for the looong delay. I had to interrupt the development for a while...<br>
<br>
Anyway, thank you for the comments and suggestions.<br>
<br>
I'm trying to install systemfixtures, as it looks interesting. But I get:<br>
$ pip install systemfixtures<br>
Collecting systemfixtures<br>
Using cached systemfixtures-0.6.5-py2.py3-<wbr>none-any.whl<br>
Collecting requests-mock (from systemfixtures)<br>
Downloading requests_mock-1.3.0-py2.py3-<wbr>none-any.whl<br>
Collecting subprocess32; python_version < "3.5" (from systemfixtures)<br>
Using cached subprocess32-3.2.7.tar.gz<br>
Complete output from command python setup.py egg_info:<br>
This backport is for Python 2.x only.<br>
<br>
------------------------------<wbr>----------<br>
Command "python setup.py egg_info" failed with error code 1 in<br>
/tmp/pip-build-7lg20nsr/<wbr>subprocess32<br>
<br>
Do you understand it?<br>
I'm using python-3.5 (but I tried with 3.4 and 3.6 as well).<br>
Should I open an issue in systemfixtures?<br>
<br>
Thanks in advance!<br>
<br>
2017-01-24 15:58 GMT+01:00 Free Ekanayaka <<a href="mailto:free@ekanayaka.io">free@ekanayaka.io</a>>:<br>
> James Cooke <<a href="mailto:me@jamescooke.info">me@jamescooke.info</a>> writes:<br>
><br>
>> Hello,<br>
>><br>
>><br>
>><br>
>> My suggestion is that you checkout pyfakefs:<br>
>> <a href="https://github.com/jmcgeheeiv/pyfakefs" rel="noreferrer" target="_blank">https://github.com/jmcgeheeiv/<wbr>pyfakefs</a> |<br>
>> <a href="https://pypi.python.org/pypi/pyfakefs" rel="noreferrer" target="_blank">https://pypi.python.org/pypi/<wbr>pyfakefs</a><br>
><br>
> I didn't know about pyfakes.<br>
><br>
> FWIW systemfixtures seem to do the same:<br>
><br>
> <a href="http://systemfixtures.readthedocs.io/en/latest/#filesystem" rel="noreferrer" target="_blank">http://systemfixtures.<wbr>readthedocs.io/en/latest/#<wbr>filesystem</a><br>
> <a href="https://github.com/testing-cabal/systemfixtures" rel="noreferrer" target="_blank">https://github.com/testing-<wbr>cabal/systemfixtures</a><br>
><br>
> The main differences I could see are:<br>
><br>
> 1) systemfixtures uses composition instead of inheritance, i.e. you<br>
> can call self.useFixture(<wbr>FakeFilesystem()) instead of inheriting<br>
> from fake_filesystem_unittest.<wbr>TestCase and calling<br>
> self.setUpPyfakefs()<br>
><br>
> 2) there's no dependency on Python mock<br>
><br>
> Free<br>
><br>
> ______________________________<wbr>_________________<br>
> testing-in-python mailing list<br>
> <a href="mailto:testing-in-python@lists.idyll.org">testing-in-python@lists.idyll.<wbr>org</a><br>
> <a href="http://lists.idyll.org/listinfo/testing-in-python" rel="noreferrer" target="_blank">http://lists.idyll.org/<wbr>listinfo/testing-in-python</a><br>
<br>
______________________________<wbr>_________________<br>
testing-in-python mailing list<br>
<a href="mailto:testing-in-python@lists.idyll.org">testing-in-python@lists.idyll.<wbr>org</a><br>
<a href="http://lists.idyll.org/listinfo/testing-in-python" rel="noreferrer" target="_blank">http://lists.idyll.org/<wbr>listinfo/testing-in-python</a><br>
</blockquote></div></div>