This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: test_inspect leaks temporary directory
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.4, Python 3.5
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: python-dev, serhiy.storchaka, yselivanov
Priority: normal Keywords:

Created on 2015-05-16 10:50 by serhiy.storchaka, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (5)
msg243307 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2015-05-16 10:50
$ ./python -m test.regrtest -vv -m '*_eq*' test_inspect 
== CPython 3.5.0a4+ (default:a444464a2e87+, May 15 2015, 09:50:37) [GCC 4.8.2]
==   Linux-3.13.0-52-generic-i686-with-debian-jessie-sid little-endian
==   hash algorithm: siphash24 32bit
==   /home/serhiy/py/cpython/build/test_python_17721
Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=1, isolated=0)
[1/1] test_inspect
test_signature_equality (test.test_inspect.TestSignatureObject) ... ok
test_signature_parameter_equality (test.test_inspect.TestParameterObject) ... ok
test_signature_bound_arguments_equality (test.test_inspect.TestBoundArguments) ... ok

Ran 3 tests in 0.032s

Warning -- files was modified by test_inspect
  Before: []
  After:  ['@test_17721_tmp_dir/'] 
1 test altered the execution environment:
msg243318 - (view) Author: Yury Selivanov (yselivanov) * (Python committer) Date: 2015-05-16 13:59
That's strange. None of these test touch any files-related stuff. At least I can't see it.
msg243319 - (view) Author: Yury Selivanov (yselivanov) * (Python committer) Date: 2015-05-16 14:01
Look's like it's TestNoEOL.__init__ method.
msg243320 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2015-05-16 14:10
New changeset 08829230079b by Yury Selivanov in branch 'default':
Issue 24208: Fix tests -- don't create a tempdir in __init__.
msg243322 - (view) Author: Yury Selivanov (yselivanov) * (Python committer) Date: 2015-05-16 14:17
I think it should be fixed now. Thanks for finding this!
Date User Action Args
2022-04-11 14:58:16adminsetgithub: 68396
2015-05-16 14:17:03yselivanovsetmessages: + msg243322
2015-05-16 14:16:53serhiy.storchakasetstatus: open -> closed
resolution: fixed
stage: resolved
2015-05-16 14:10:28python-devsetnosy: + python-dev
messages: + msg243320
2015-05-16 14:01:52yselivanovsetmessages: + msg243319
2015-05-16 13:59:21yselivanovsetmessages: + msg243318
2015-05-16 10:50:58serhiy.storchakacreate