Re: [Tutor] Broadcasting using sockets over adhoc wifi

2019-06-13 Thread Cameron Simpson
On 11Jun2019 10:35, John Hoeksema wrote: Summer researcher using Raspbian and Python 3.5. I'm trying to use a Raspberry Pi 3 B+ to broadcast a message using the sockets library to other Pis (same model) over their shared ad-hoc network. All of the Pis can ping the others over the ad hoc

Re: [Tutor] Running Lib/test/test_shutil.py

2019-06-13 Thread Mats Wichmann
On 6/13/19 12:19 PM, Peter Otten wrote: > Tom Hale wrote: > >> Hi all, >> >> I hope this is the best place to ask (please let me know if there is a >> more appropriate list): >> >> Checking out CPython v3.8.0b1, I'm trying to run: >> >>% python Lib/test/test_shutil.py > > Are you sure > >

Re: [Tutor] Running Lib/test/test_shutil.py

2019-06-13 Thread Peter Otten
Tom Hale wrote: > Hi all, > > I hope this is the best place to ask (please let me know if there is a > more appropriate list): > > Checking out CPython v3.8.0b1, I'm trying to run: > >% python Lib/test/test_shutil.py Are you sure % python invokes the 3.8 interpreter? > I'm getting: >

[Tutor] Running Lib/test/test_shutil.py

2019-06-13 Thread Tom Hale
Hi all, I hope this is the best place to ask (please let me know if there is a more appropriate list): Checking out CPython v3.8.0b1, I'm trying to run: % python Lib/test/test_shutil.py I'm getting: Traceback (most recent call last): File "Lib/test/test_shutil.py", line 19, in

Re: [Tutor] Where to store test-code?

2019-06-13 Thread Mats Wichmann
On 6/13/19 2:22 AM, Thomas Güttler wrote: > Up to now I use this structure: > > src/myapp/setup.py > src/myapp/myapp/real_code.py > > Now I want to write a test for a method which is implemented real_code.py. > > Where should I write store the file which contains the unittest? > > Is there a

[Tutor] Where to store test-code?

2019-06-13 Thread Thomas Güttler
Up to now I use this structure: src/myapp/setup.py src/myapp/myapp/real_code.py Now I want to write a test for a method which is implemented real_code.py. Where should I write store the file which contains the unittest? Is there a guideline for the directory structure of tests? I know that