Skip to content

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

Closed

Description

@vstinner
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']

Activity

  1. vstinner commented on Jul 3, 2017

    @vstinner
    MemberAuthor

    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']

  2. added
    tests
    on Jul 3, 2017
  3. vstinner commented on Jul 3, 2017

    @vstinner
    MemberAuthor

    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.

  4. vstinner commented on Aug 11, 2017

    @vstinner
    MemberAuthor

    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.

  5. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-windowstests

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions