<div dir="auto">I&#39;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, &quot;David Palao&quot; &lt;<a href="mailto:dpalao.python@gmail.com">dpalao.python@gmail.com</a>&gt; 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&#39;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 &lt; &quot;3.5&quot; (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 &quot;python setup.py egg_info&quot; failed with error code 1 in<br>
/tmp/pip-build-7lg20nsr/<wbr>subprocess32<br>
<br>
Do you understand it?<br>
I&#39;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 &lt;<a href="mailto:free@ekanayaka.io">free@ekanayaka.io</a>&gt;:<br>
&gt; James Cooke &lt;<a href="mailto:me@jamescooke.info">me@jamescooke.info</a>&gt; writes:<br>
&gt;<br>
&gt;&gt; Hello,<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; My suggestion is that you checkout pyfakefs:<br>
&gt;&gt; <a href="https://github.com/jmcgeheeiv/pyfakefs" rel="noreferrer" target="_blank">https://github.com/jmcgeheeiv/<wbr>pyfakefs</a> |<br>
&gt;&gt; <a href="https://pypi.python.org/pypi/pyfakefs" rel="noreferrer" target="_blank">https://pypi.python.org/pypi/<wbr>pyfakefs</a><br>
&gt;<br>
&gt; I didn&#39;t know about pyfakes.<br>
&gt;<br>
&gt; FWIW systemfixtures seem to do the same:<br>
&gt;<br>
&gt; <a href="http://systemfixtures.readthedocs.io/en/latest/#filesystem" rel="noreferrer" target="_blank">http://systemfixtures.<wbr>readthedocs.io/en/latest/#<wbr>filesystem</a><br>
&gt; <a href="https://github.com/testing-cabal/systemfixtures" rel="noreferrer" target="_blank">https://github.com/testing-<wbr>cabal/systemfixtures</a><br>
&gt;<br>
&gt; The main differences I could see are:<br>
&gt;<br>
&gt; 1) systemfixtures uses composition instead of inheritance, i.e. you<br>
&gt;    can call self.useFixture(<wbr>FakeFilesystem()) instead of inheriting<br>
&gt;    from fake_filesystem_unittest.<wbr>TestCase and calling<br>
&gt;    self.setUpPyfakefs()<br>
&gt;<br>
&gt; 2) there&#39;s no dependency on Python mock<br>
&gt;<br>
&gt; Free<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; testing-in-python mailing list<br>
&gt; <a href="mailto:testing-in-python@lists.idyll.org">testing-in-python@lists.idyll.<wbr>org</a><br>
&gt; <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>