Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning -- files was modified by test_import, After: ['@test_4852_tmp.pyc'] #75017

Closed
vstinner opened this issue Jul 3, 2017 · 4 comments
Closed
Labels
OS-windows tests Tests in the Lib/test dir

Comments

@vstinner
Copy link
Member

vstinner commented Jul 3, 2017

BPO 30834
Nosy @pfmoore, @vstinner, @tjguk, @zware, @zooba

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2017-08-11.00:01:22.644>
created_at = <Date 2017-07-03.10:36:07.331>
labels = ['tests', 'OS-windows']
title = "Warning -- files was modified by test_import,  After:  ['@test_4852_tmp.pyc']"
updated_at = <Date 2017-08-11.00:01:22.644>
user = 'https://github.com/vstinner'

bugs.python.org fields:

activity = <Date 2017-08-11.00:01:22.644>
actor = 'vstinner'
assignee = 'none'
closed = True
closed_date = <Date 2017-08-11.00:01:22.644>
closer = 'vstinner'
components = ['Tests', 'Windows']
creation = <Date 2017-07-03.10:36:07.331>
creator = 'vstinner'
dependencies = []
files = []
hgrepos = []
issue_num = 30834
keywords = []
message_count = 4.0
messages = ['297552', '297553', '297578', '300139']
nosy_count = 5.0
nosy_names = ['paul.moore', 'vstinner', 'tim.golden', 'zach.ware', 'steve.dower']
pr_nums = []
priority = 'normal'
resolution = 'out of date'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue30834'
versions = ['Python 3.5']

@vstinner
Copy link
Member Author

vstinner commented Jul 3, 2017

Python 3.5 on Windows emits the following warning when running test_import, but I'm unable to reproduce it :-/

Warning -- files was modified by test_import
Before: []
After: ['@test_4852_tmp.pyc']

@vstinner vstinner added tests Tests in the Lib/test dir OS-windows labels Jul 3, 2017
@vstinner
Copy link
Member Author

vstinner commented Jul 3, 2017

@vstinner
Copy link
Member Author

vstinner commented Jul 3, 2017

I'm unable to reproduce this bug on my Python 3.5 compiled in debug mode on Windows. I tried "./python -m test -v test_import", "./python -m test -R 3:3 test_import", and with more flags from the buildbot. I also tried to remove __pycache__ directories, it doesn't help.

@vstinner
Copy link
Member Author

Python 3.5 doesn't accept bugfixes anymore, so I close this issue.

I never saw this bug on 2.7, 3.6 or master buildbots.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS-windows tests Tests in the Lib/test dir
Projects
None yet
Development

No branches or pull requests

1 participant