Skip to content

test_pathlib prints unnecessary information #122096

@Eclips4

Description

@Eclips4

Bug report

Bug description:

./python -m test -q test_pathlib
Using random seed: 2693504937
0:00:00 load avg: 0.51 Run 1 test sequentially in a single process
[OSError(), OSError()]
[PermissionError(13, 'Permission denied'), PermissionError(13, 'Permission denied'), OSError(39, 'Directory not empty')]
[OSError(), OSError()]
[PermissionError(13, 'Permission denied'), PermissionError(13, 'Permission denied'), OSError(39, 'Directory not empty')]
[OSError(), OSError()]
[PermissionError(13, 'Permission denied'), PermissionError(13, 'Permission denied'), OSError(39, 'Directory not empty')]

== Tests result: SUCCESS ==

Total duration: 6.9 sec
Total tests: run=1,710 skipped=571
Total test files: run=1/1
Result: SUCCESS

I have a PR ready.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions