We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed8acb5 commit 50cdf63Copy full SHA for 50cdf63
tests/module_finder_test.py
@@ -5,6 +5,7 @@
5
import unittest2
6
7
import mitogen.master
8
+from mitogen.core import b
9
10
import testlib
11
from testlib import MODS_DIR
@@ -122,7 +123,7 @@ def test_main(self):
122
123
# linecache adds a line ending to the final line if one is missing.
124
actual_src = open(path, 'rb').read()
125
if actual_src[-1] != '\n':
- actual_src += '\n'
126
+ actual_src += b('\n')
127
128
self.assertEquals(src, actual_src)
129
self.assertFalse(is_pkg)
0 commit comments