Skip to content

Commit 2d3011e

Browse files
committed
Merge pull request #319 from harlowja/compat-at-exit
Use the compat layer for atexit functionality
2 parents d780c64 + 2af444e commit 2d3011e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

kazoo/testing/harness.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
"""Kazoo testing harnesses"""
2-
import atexit
2+
33
import logging
44
import os
55
import uuid
66
import unittest
77

8+
from kazoo import python2atexit as atexit
9+
810
from kazoo.client import KazooClient
911
from kazoo.exceptions import NotEmptyError
1012
from kazoo.protocol.states import (

0 commit comments

Comments
 (0)