summaryrefslogtreecommitdiff
path: root/tests/test_runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_runner.py')
-rw-r--r--tests/test_runner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_runner.py b/tests/test_runner.py
index e77d103..2ac302c 100644
--- a/tests/test_runner.py
+++ b/tests/test_runner.py
@@ -181,9 +181,9 @@ class Test_helper(unittest.TestCase):
@contextlib.contextmanager
def capture():
- from waitress.compat import NativeIO
+ from io import StringIO
- fd = NativeIO()
+ fd = StringIO()
sys.stdout = fd
sys.stderr = fd
yield fd