|
Hi,
I'm considering adding some tests to Itpl in IPython/external to investigate unicode issues in that module. But after adding a tests submodule in the Itpl directory I can't run those tests because nose crashes when it can't import pexepct. Any ideas on how to solve this? C:\python\external> python ipython-js\IPython\scripts\iptest IPython.external -v Failure: ImportError (No module named resource A critical module was not found. Probably this operating system does not support it. Pexpect is intended for UNIX-like operating systems.) ... ERROR ====================================================================== ERROR: Failure: ImportError (No module named resource A critical module was not found. Probably this operating system does not support it. Pexpect is intended for UNIX-like operating systems.) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\python26\lib\site-packages\nose\loader.py", line 390, in loadTestsFro mName addr.filename, addr.module) File "c:\python26\lib\site-packages\nose\importer.py", line 39, in importFromP ath return self.importFromDir(dir_path, fqname) File "c:\python26\lib\site-packages\nose\importer.py", line 86, in importFromD ir mod = load_module(part_fqname, fh, filename, desc) File "c:\python\external\ipython-js\IPython\external\pexpect\__init__.py", lin e 5, in <module> from _pexpect import * File "c:\python\external\ipython-js\IPython\external\pexpect\_pexpect.py", lin e 84, in <module> support it. Pexpect is intended for UNIX-like operating systems.""") ImportError: No module named resource A critical module was not found. Probably this operating system does not support it. Pexpect is intended for UNIX-like operating systems. ---------------------------------------------------------------------- Ran 1 test in 0.003s _______________________________________________ IPython-dev mailing list [hidden email] http://mail.scipy.org/mailman/listinfo/ipython-dev |
|
Hi Jorgen,
On Tue, Jul 12, 2011 at 11:00 AM, Jörgen Stenarson <[hidden email]> wrote: > I'm considering adding some tests to Itpl in IPython/external to > investigate unicode issues in that module. But after adding a tests > submodule in the Itpl directory I can't run those tests because nose > crashes when it can't import pexepct. Any ideas on how to solve this? did you eventually figure this out? If the problem persists, we can try to give you a hand. Cheers, f _______________________________________________ IPython-dev mailing list [hidden email] http://mail.scipy.org/mailman/listinfo/ipython-dev |
Fernando Perez skrev 2012-04-23 08:00: > Hi Jorgen, > > On Tue, Jul 12, 2011 at 11:00 AM, Jörgen Stenarson > [hidden email] wrote:>> I'm considering adding some tests to Itpl in IPython/external to >> investigate unicode issues in that module. But after adding a tests >> submodule in the Itpl directory I can't run those tests because nose >> crashes when it can't import pexepct. Any ideas on how to solve this?> > did you eventually figure this out? If the problem persists, we can > try to give you a hand. > I did not persue this problem further because Thomas Kluyver said he was going to do some major changes here. Looking back in my archive I see that this was unfortunately not communicated on list. See below for copy of relevant text. Oops, I manage to just send this to Fernando. Here it is for the whole list. /Jörgen On 12 July 2011 19:00, Jörgen Stenarson [hidden email] wrote: I'm considering adding some tests to Itpl in IPython/external to investigate unicode issues in that module. But after adding a tests submodule in the Itpl directory I can't run those tests because nose crashes when it can't import pexepct. Any ideas on how to solve this? Just to note: I'm aiming in the future to replace all use of Itpl with the advanced string formatting introduced in 2.6. There's a couple of places it will still be in 0.11, but it will probably be done for 0.12. Thanks, Thomas _______________________________________________ IPython-dev mailing list [hidden email] http://mail.scipy.org/mailman/listinfo/ipython-dev |
|
(My earlier message):
> Just to note: I'm aiming in the future to replace all use of Itpl with the > advanced string formatting introduced in 2.6. There's a couple of places it > will still be in 0.11, but it will probably be done for 0.12. I seem to have succeeded with this. Itpl is now only referenced from modules in quarantine & deathrow. If no-one objects, I'll prepare a PR to remove our bundled Itpl, and note in the quarantined modules that if they are updated, they should use the new formatting system. The affected modules are ipy_editors and ipy_render. Thomas _______________________________________________ IPython-dev mailing list [hidden email] http://mail.scipy.org/mailman/listinfo/ipython-dev |
|
On Mon, Apr 23, 2012 at 10:51 AM, Thomas Kluyver <[hidden email]> wrote:
> I seem to have succeeded with this. Itpl is now only referenced from > modules in quarantine & deathrow. If no-one objects, I'll prepare a PR > to remove our bundled Itpl, and note in the quarantined modules that > if they are updated, they should use the new formatting system. The > affected modules are ipy_editors and ipy_render. Great! Please go for it. Cheers, f _______________________________________________ IPython-dev mailing list [hidden email] http://mail.scipy.org/mailman/listinfo/ipython-dev |
| Powered by Nabble | Edit this page |
