Skip to content

Commit

Permalink
tests: python2-compat in another place
Browse files Browse the repository at this point in the history
  • Loading branch information
keszybz committed Aug 16, 2022
1 parent 872ce30 commit ba9d9f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion systemd/test/test_daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def test_daemon_notify_memleak():

try:
notify('', True, 0, fds)
except ConnectionRefusedError:
except connection_error:
pass

assert sys.getrefcount(fd) <= ref_cnt, 'leak'

0 comments on commit ba9d9f8

Please sign in to comment.