summaryrefslogtreecommitdiff
path: root/kazoo/tests/test_interrupt.py
diff options
context:
space:
mode:
Diffstat (limited to 'kazoo/tests/test_interrupt.py')
-rw-r--r--kazoo/tests/test_interrupt.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/kazoo/tests/test_interrupt.py b/kazoo/tests/test_interrupt.py
index e131755..4f4a997 100644
--- a/kazoo/tests/test_interrupt.py
+++ b/kazoo/tests/test_interrupt.py
@@ -1,7 +1,8 @@
import os
-from nose import SkipTest
from sys import platform
+import pytest
+
from kazoo.testing import KazooTestCase
@@ -12,8 +13,9 @@ class KazooInterruptTests(KazooTestCase):
can't control what all signals our connection thread will get
'''
if 'linux' not in platform:
- raise SkipTest('Unable to reproduce error case on'
- ' non-linux platforms')
+ pytest.skip(
+ 'Unable to reproduce error case on non-linux platforms'
+ )
path = 'interrupt_test'
value = b"1"