Re: Unittests and serial workflows

2015-10-30 Thread Laura Creighton
In a message of Sat, 31 Oct 2015 12:46:53 +1100, Chris Angelico writes: >If the order of test execution affects the overall pass/fail of the >test set, then yes, that's a problem. But if, as in the OP's example, >some tests assume the correct operation of features tested >individually elsewhere, it

Re: UNABLE TO GET IDLE TO RUN

2015-10-30 Thread Terry Reedy
On 10/30/2015 9:15 PM, Terry Reedy wrote: On 10/30/2015 12:29 PM, Laura Creighton wrote: In a message of Fri, 30 Oct 2015 16:21:30 +0100, Michiel Overtoom writes: Hi, Laura wrote: I think that it would be useful if IDLE spit out a warning An ounce of prevention is worth a pound of cure. May

Re: Unittests and serial workflows

2015-10-30 Thread Chris Angelico
On Sat, Oct 31, 2015 at 12:28 PM, Steven D'Aprano wrote: >> And so forth. The order in which unittest is running the test is not the >> one given by the code (it seems to be alphabetical?) so that I am not >> guaranteed that my functions are tested in the right order (my real >> tasks of course ar

Re: Unittests and serial workflows

2015-10-30 Thread Steven D'Aprano
On Tue, 27 Oct 2015 03:10 pm, Fabien wrote: > Hi all, > > I am not trained as a software developer and have only superficial > knowledge about the theories and good practices of software testing. > > Say I have several tasks (functions) A(), B(), C(), etc., each of them > depending on the previo

Re: [ANN] Python 3 Cheat Sheet v2.0

2015-10-30 Thread Steven D'Aprano
On Sat, 31 Oct 2015 06:56 am, Laurent Pointal wrote: > Hello, > > I just updated my one recto-verso sheet Python 3 Cheat Sheet > > https://perso.limsi.fr/pointal/python:memento Very nice! Thank you! Some small typos in the English version: Page 2, Conditional loop statement: "☝ be

Re: UNABLE TO GET IDLE TO RUN

2015-10-30 Thread Terry Reedy
On 10/30/2015 12:29 PM, Laura Creighton wrote: In a message of Fri, 30 Oct 2015 16:21:30 +0100, Michiel Overtoom writes: Hi, Laura wrote: I think that it would be useful if IDLE spit out a warning An ounce of prevention is worth a pound of cure. Maybe it's an idea that IDLE gives a warning

Re: problems using python in PowerShell

2015-10-30 Thread Random832
Dennis Lee Bieber writes: > On Sat, 31 Oct 2015 02:09:27 +1100, Chris Angelico >>On Sat, Oct 31, 2015 at 1:53 AM, josephine ewers via Python-list >>> Hi, >>> I am doing an online training course to learn python but when I enter >>> 'python' in Microsoft PowerShell as I am supposed to do I always

Re: pip trouble

2015-10-30 Thread Mark Lawrence
On 30/10/2015 17:45, Neal Becker wrote: Chris Warrick wrote: On 30 October 2015 at 13:14, Neal Becker wrote: I have a custom-compiled numpy 1.10.0. But as you see, pip wants to install a new numpy, even though the requirement (numpy>=1.6) was already satisfied. WTF? All are installed into -

Re: pip trouble

2015-10-30 Thread Chris Angelico
On Sat, Oct 31, 2015 at 4:45 AM, Neal Becker wrote: > How can I ask to upgrade just matplotlib, and not deps? Unconfirmed, but can you say: pip install --up --user matplotlib numpy==1.10.0 ? That should bind to an exact version. ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Re: pip trouble

2015-10-30 Thread Neal Becker
Chris Warrick wrote: > On 30 October 2015 at 13:14, Neal Becker wrote: >> I have a custom-compiled numpy 1.10.0. But as you see, pip wants to >> install a new numpy, even though the requirement (numpy>=1.6) was already >> satisfied. WTF? >> >> All are installed into --user. >> >> This is on fedo

Re: pip trouble

2015-10-30 Thread Chris Warrick
On 30 October 2015 at 13:14, Neal Becker wrote: > I have a custom-compiled numpy 1.10.0. But as you see, pip wants to install > a new numpy, even though the requirement (numpy>=1.6) was already satisfied. > WTF? > > All are installed into --user. > > This is on fedora 22 linux. > > pip install --

Re: UNABLE TO GET IDLE TO RUN

2015-10-30 Thread Laura Creighton
In a message of Fri, 30 Oct 2015 16:21:30 +0100, Michiel Overtoom writes: >Hi, > >Laura wrote: >> I think that it would be useful if IDLE spit out a warning > >An ounce of prevention is worth a pound of cure. Maybe it's an idea that IDLE >gives a warning when you're trying to save a file with a na

Re: UNABLE TO GET IDLE TO RUN

2015-10-30 Thread Michiel Overtoom
Hi, Laura wrote: > I think that it would be useful if IDLE spit out a warning An ounce of prevention is worth a pound of cure. Maybe it's an idea that IDLE gives a warning when you're trying to save a file with a name that would shadow an existing module? Greetings, -- https://mail.pyth

Re: problems using python in PowerShell

2015-10-30 Thread Chris Angelico
On Sat, Oct 31, 2015 at 1:53 AM, josephine ewers via Python-list wrote: > Hi, > I am doing an online training course to learn python but when I enter > 'python' in Microsoft PowerShell as I am supposed to do I always get an > error message. What error message, exactly? Is Python installed? Which

problems using python in PowerShell

2015-10-30 Thread josephine ewers via Python-list
Hi,I am doing an online training course to learn python but when I enter 'python' in Microsoft PowerShell as I am supposed to do I always get an error message. Best regards,Josephine-- https://mail.python.org/mailman/listinfo/python-list

pip trouble

2015-10-30 Thread Neal Becker
I have a custom-compiled numpy 1.10.0. But as you see, pip wants to install a new numpy, even though the requirement (numpy>=1.6) was already satisfied. WTF? All are installed into --user. This is on fedora 22 linux. pip install --up --user matplotlib Collecting matplotlib Using cached ma