• Hans Lawrenz's avatar
    Fixed #22307 -- Fixed SpooledTemporaryFile bug in File class. · 918a16bc
    Hans Lawrenz yazdı
    Added condition to prevent checking the existence of a file name of a
    file like object when the name attribute is None. This is necessary
    because a SpooledTemporaryFile won't exist on the file system or have a
    name until it has reached its max_size. Also added tests.
    918a16bc
tests.py 7.79 KB