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: > > Traceback (most recent call last): > File "Lib/test/test_shutil.py", line 19, in <module> > from shutil import (make_archive, > ImportError: cannot import name '_GiveupOnFastCopy' from 'shutil' > (/usr/lib/python3.7/shutil.py) > The traceback suggests that it may be 3.7. Try % ./python Lib/test/test_shutil.py or, if you have installed python3.8 % python3.8 Lib/test/test_shutil.py If you still get an error with a path into the /usr/lib/python3.7 stdlib have a look at the PYTHONPATH environment variable. > Am I trying to run the test file in the right way? > > Context: I'm proposing to add /shutil.(sym)?link/ and want to start > writing my tests with running the existing tests :) > > Is there a doc that I've missed? > > Cheers! > _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor