Skip to content

TST: Investigate ResourceWarning in tests (currently ignored) #9619

Closed

Description

@pllim

Description

Un-ignore the following warnings and investigate whether they can be mitigated without being ignored whole-sale.

astropy/setup.cfg

Lines 109 to 111 in 6864219

ignore:unclosed file:ResourceWarning
ignore:unclosed <socket:ResourceWarning
ignore:unclosed <ssl.SSLSocket:ResourceWarning

Additional context

This is a follow-up of #7928

Also see #8673

Activity

  1. pllim commented on Oct 29, 2024

    @pllim
    MemberAuthor

    These 2 still a problem ( #17275 #17274)

     ignore:unclosed <socket:ResourceWarning 
     ignore:unclosed <ssl.SSLSocket:ResourceWarning 

    I think mostly utils.data and samp tests. I wonder if we should localize the ignore. I took a peek but couldn't see any trivial fix.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions