diff options
| author | Michael Merickel <michael@merickel.org> | 2018-11-12 23:27:59 -0600 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2018-11-12 23:27:59 -0600 |
| commit | e2c7bbf5566f5be4d1b5b58d3e23948b4dc9b651 (patch) | |
| tree | 3a777228c4a5c030db2ab8dd6cc9acdfbf146a59 /tests/test_scripts/test_pserve.py | |
| parent | d879bdfd477a138746e8593b8d9f30c492ff71e1 (diff) | |
| download | pyramid-e2c7bbf5566f5be4d1b5b58d3e23948b4dc9b651.tar.gz pyramid-e2c7bbf5566f5be4d1b5b58d3e23948b4dc9b651.tar.bz2 pyramid-e2c7bbf5566f5be4d1b5b58d3e23948b4dc9b651.zip | |
get rid of NativeIO alias and a few others
Diffstat (limited to 'tests/test_scripts/test_pserve.py')
| -rw-r--r-- | tests/test_scripts/test_pserve.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_scripts/test_pserve.py b/tests/test_scripts/test_pserve.py index b85f4ddb7..a573f2e5b 100644 --- a/tests/test_scripts/test_pserve.py +++ b/tests/test_scripts/test_pserve.py @@ -1,3 +1,4 @@ +from io import StringIO import os import unittest from . import dummy @@ -8,9 +9,7 @@ here = os.path.abspath(os.path.dirname(__file__)) class TestPServeCommand(unittest.TestCase): def setUp(self): - from pyramid.compat import NativeIO - - self.out_ = NativeIO() + self.out_ = StringIO() def out(self, msg): self.out_.write(msg) |
