New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:

Separate tests in test_uu leak files of depend on the file leaked in other 
tests.

$ ./python -m test -m test_decode test_uu 
...
Warning -- files was modified by test_uu
  Before: []
  After:  ['@test_12637_tmpi'] 
test_uu failed (env changed)

$ ./python -m test -m test_decode_filename test_uu
...
Warning -- files was modified by test_uu
  Before: []
  After:  ['@test_12627_tmpi'] 
test_uu failed (env changed)

$ ./python -m test -m test_decodetwice test_uu
...
test test_uu failed -- Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/test_uu.py", line 263, in 
test_decodetwice
    f = open(self.tmpin, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '@test_12622_tmpi'

----------
assignee: serhiy.storchaka
components: Tests
messages: 318530
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Fix and improve tests for the uu module
type: behavior
versions: Python 2.7, Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33744>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to