[IPython-User] Getting deepreload to work by default

David Prager Branner brannerchinese@gmail....
Wed Aug 28 13:59:49 CDT 2013


Here you are:

    $ iptest3 autoreload
    .FF
    ======================================================================
    FAIL:
IPython.extensions.tests.test_autoreload.TestAutoreload.test_smoketest_aimport
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/Users/dpb11/py3/lib/python3.3/site-packages/nose/case.py",
line 198, in runTest
        self.test(*self.arg)
      File
"/Users/dpb11/py3/lib/python3.3/site-packages/IPython/extensions/tests/test_autoreload.py",
line 313, in test_smoketest_aimport
        self._check_smoketest(use_aimport=True)
      File
"/Users/dpb11/py3/lib/python3.3/site-packages/IPython/extensions/tests/test_autoreload.py",
line 218, in _check_smoketest
        self.shell.run_code("pass") # trigger reload
      File
"/Users/dpb11/py3/lib/python3.3/site-packages/IPython/testing/tools.py",
line 364, in __exit__
        assert self.s in printed, notprinted_msg.format(self.s,
self.channel, printed)
    nose.proxy.AssertionError: Did not find '[autoreload of
tmpmod_w2v3t4fea7ix6kscbpzq failed:' in printed output (on stderr):
    -------

    -------

        <IPython.testing.tools.AssertPrints object at
0x105262490>.tee.flush()
        setattr(<module 'sys' (built-in)>,
<IPython.testing.tools.AssertPrints object at 0x105262490>.channel,
<IPython.testing.tools.AssertPrints object at 0x105262490>.orig_stream)
        '' = <IPython.testing.tools.AssertPrints object at
0x105262490>.buffer.getvalue()
    >>  assert <IPython.testing.tools.AssertPrints object at 0x105262490>.s
in '', 'Did not find {0!r} in printed output (on
{1}):\n-------\n{2!s}\n-------\n'.format(<IPython.testing.tools.AssertPrints
object at 0x105262490>.s, <IPython.testing.tools.AssertPrints object at
0x105262490>.channel, '')
        return False


    ======================================================================
    FAIL:
IPython.extensions.tests.test_autoreload.TestAutoreload.test_smoketest_autoreload
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/Users/dpb11/py3/lib/python3.3/site-packages/nose/case.py",
line 198, in runTest
        self.test(*self.arg)
      File
"/Users/dpb11/py3/lib/python3.3/site-packages/IPython/extensions/tests/test_autoreload.py",
line 316, in test_smoketest_autoreload
        self._check_smoketest(use_aimport=False)
      File
"/Users/dpb11/py3/lib/python3.3/site-packages/IPython/extensions/tests/test_autoreload.py",
line 218, in _check_smoketest
        self.shell.run_code("pass") # trigger reload
      File
"/Users/dpb11/py3/lib/python3.3/site-packages/IPython/testing/tools.py",
line 364, in __exit__
        assert self.s in printed, notprinted_msg.format(self.s,
self.channel, printed)
    nose.proxy.AssertionError: Did not find '[autoreload of
tmpmod_hjuzf956ok0t81cvewxm failed:' in printed output (on stderr):
    -------

    -------

        <IPython.testing.tools.AssertPrints object at
0x105286950>.tee.flush()
        setattr(<module 'sys' (built-in)>,
<IPython.testing.tools.AssertPrints object at 0x105286950>.channel,
<IPython.testing.tools.AssertPrints object at 0x105286950>.orig_stream)
        '' = <IPython.testing.tools.AssertPrints object at
0x105286950>.buffer.getvalue()
    >>  assert <IPython.testing.tools.AssertPrints object at 0x105286950>.s
in '', 'Did not find {0!r} in printed output (on
{1}):\n-------\n{2!s}\n-------\n'.format(<IPython.testing.tools.AssertPrints
object at 0x105286950>.s, <IPython.testing.tools.AssertPrints object at
0x105286950>.channel, '')
        return False


    ----------------------------------------------------------------------
    Ran 3 tests in 2.211s

    FAILED (failures=2)
    (py3)dpb11:play_ipython dpb11$

I suspect the next step is to reinstall the OS, something much easier on OS
10.8 than previous versions of OS X.

- dpb

Developer and Lexicographer of Chinese
brannerchinese.com


On Wed, Aug 28, 2013 at 2:55 PM, Thomas Kluyver <takowl@gmail.com> wrote:

>
> On 28 August 2013 11:37, David Prager Branner <brannerchinese@gmail.com>wrote:
>
>> iptest3 required installation of nose; done.
>>
>>     $ iptest3 autoreload
>>     ...
>>     FAIL:
>> IPython.extensions.tests.test_autoreload.TestAutoreload.test_smoketest_aimport
>>     ...
>>     FAIL:
>> IPython.extensions.tests.test_autoreload.TestAutoreload.test_smoketest_autoreload
>>     ...
>>     Ran 3 tests in 2.204s
>>
>>     FAILED (failures=2)
>>
>
> Can you show the tracebacks, the bits where you've put ...? I've just
> installed IPython 1.0 and nose in a clean virtualenv, and those tests are
> passing for me.
>
> Thomas
>
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20130828/1d793f26/attachment.html 


More information about the IPython-User mailing list