[Tutor] Running Lib/test/test_shutil.py
Mats Wichmann
mats at wichmann.us
Thu Jun 13 14:35:45 EDT 2019
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
>
> % 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.
and indeed _GiveupOnFastCopy is a 3.8-only thing (an exception, it turns
out), so this must be the deal.
More information about the Tutor
mailing list