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

test_fileio error (windows) #49047

Closed
ocean-city mannequin opened this issue Jan 1, 2009 · 3 comments
Closed

test_fileio error (windows) #49047

ocean-city mannequin opened this issue Jan 1, 2009 · 3 comments
Labels
OS-windows type-bug An unexpected behavior, bug, or error

Comments

@ocean-city
Copy link
Mannequin

ocean-city mannequin commented Jan 1, 2009

BPO 4797
Nosy @benjaminp
Files
  • fix_test_fileio_error.patch
  • 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 2009-01-01.16:04:36.191>
    created_at = <Date 2009-01-01.05:06:09.957>
    labels = ['type-bug', 'OS-windows']
    title = 'test_fileio error (windows)'
    updated_at = <Date 2009-01-01.16:04:36.144>
    user = 'https://bugs.python.org/ocean-city'

    bugs.python.org fields:

    activity = <Date 2009-01-01.16:04:36.144>
    actor = 'ocean-city'
    assignee = 'none'
    closed = True
    closed_date = <Date 2009-01-01.16:04:36.191>
    closer = 'ocean-city'
    components = ['Windows']
    creation = <Date 2009-01-01.05:06:09.957>
    creator = 'ocean-city'
    dependencies = []
    files = ['12515']
    hgrepos = []
    issue_num = 4797
    keywords = ['patch']
    message_count = 3.0
    messages = ['78690', '78712', '78714']
    nosy_count = 2.0
    nosy_names = ['ocean-city', 'benjamin.peterson']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue4797'
    versions = ['Python 2.6', 'Python 2.7']

    @ocean-city
    Copy link
    Mannequin Author

    ocean-city mannequin commented Jan 1, 2009

    This patch fixes this error.

    http://www.python.org/dev/buildbot/trunk.stable/x86%20XP-4%
    20trunk/builds/1727/step-test/0

    ======================================================================
    FAIL: testOpendir (test.test_fileio.AutoFileTests)
    ----------------------------------------------------------------------

    Traceback (most recent call last):
      File "E:\cygwin\home\db3l\buildarea\trunk.bolen-
    windows\build\lib\test\test_fileio.py", line 112, in testOpendir
        self.assertEqual(e.filename, ".")
    AssertionError: None != '.'

    This error doesn't occur on py3k (because wide string is passed) but I
    think It's better to merge the patch into py3k too.

    @ocean-city ocean-city mannequin added OS-windows type-bug An unexpected behavior, bug, or error labels Jan 1, 2009
    @benjaminp
    Copy link
    Contributor

    Please go ahead.

    @ocean-city
    Copy link
    Mannequin Author

    ocean-city mannequin commented Jan 1, 2009

    Done. Fixed in r68134(trunk) and r68139(py3k).

    @ocean-city ocean-city mannequin closed this as completed Jan 1, 2009
    @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 type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant