Skip to content

Commit

Permalink
Moved "del s" to its proper place
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Nov 27, 2021
1 parent 5e508f9 commit 8e33dae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_sockets.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,11 @@
s.bind(('::1', 0))
finally:
s.close()
del s
except OSError:
pass
else:
has_ipv6 = True
finally:
del s


@pytest.fixture
Expand Down

0 comments on commit 8e33dae

Please sign in to comment.