Skip to content

Commit ba9d9f8

Browse files
committed
tests: python2-compat in another place
1 parent 872ce30 commit ba9d9f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

systemd/test/test_daemon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ def test_daemon_notify_memleak():
353353

354354
try:
355355
notify('', True, 0, fds)
356-
except ConnectionRefusedError:
356+
except connection_error:
357357
pass
358358

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

0 commit comments

Comments
 (0)