summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-02-13 11:18:44 -0500
committerChris McDonough <chrism@plope.com>2012-02-13 11:18:44 -0500
commit63ad061db50517d2e03b5d7b62343e586e50fa53 (patch)
tree5caddfea6b68f8e1cbfd4bed344754abd5682caa
parent422fd1d8cd7999ab34a096da27ddf6b810b59353 (diff)
downloadwaitress-63ad061db50517d2e03b5d7b62343e586e50fa53.tar.gz
remove linefeeds (another windows hailmary)
-rw-r--r--waitress/tests/fixtureapps/getline.py2
-rw-r--r--waitress/tests/test_functional.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/waitress/tests/fixtureapps/getline.py b/waitress/tests/fixtureapps/getline.py
index a095a9f..aae0bfd 100644
--- a/waitress/tests/fixtureapps/getline.py
+++ b/waitress/tests/fixtureapps/getline.py
@@ -10,6 +10,6 @@ if __name__ == '__main__':
headers = {'Content-Type':'text/plain; charset=utf-8'}
resp = urlopen(url)
line = resp.readline().decode('ascii') # py3
- sys.stdout.write(line+'\n')
+ sys.stdout.write(line)
sys.stdout.flush()
diff --git a/waitress/tests/test_functional.py b/waitress/tests/test_functional.py
index d1aea67..f6a4a16 100644
--- a/waitress/tests/test_functional.py
+++ b/waitress/tests/test_functional.py
@@ -65,7 +65,7 @@ class SleepyThreadTests(SubprocessTests, unittest.TestCase):
result = os.read(r, 10000)
os.close(r)
os.close(w)
- self.assertEqual(result, b'notsleepy returned\nsleepy returned\n')
+ self.assertEqual(result, b'notsleepy returnedsleepy returned')
class EchoTests(SubprocessTests, unittest.TestCase):
def setUp(self):