Code Review
/
packages
/
trusty
/
python-eventlet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add python-eventlet package to MOS 9.0 repository
[packages/trusty/python-eventlet.git]
/
debian
/
patches
/
remove-self.assert-in-tests.patcher_test.py.patch
diff --git
a/debian/patches/remove-self.assert-in-tests.patcher_test.py.patch
b/debian/patches/remove-self.assert-in-tests.patcher_test.py.patch
index d7ffc3dee66c9f0ed006e3ea7f2ab55deb31c981..2157ca5be95d7559bec09b4e500bbbad9227844e 100644
(file)
--- a/
debian/patches/remove-self.assert-in-tests.patcher_test.py.patch
+++ b/
debian/patches/remove-self.assert-in-tests.patcher_test.py.patch
@@
-5,16
+5,16
@@
Last-Update: 2014-09-07
--- a/tests/patcher_test.py
+++ b/tests/patcher_test.py
--- a/tests/patcher_test.py
+++ b/tests/patcher_test.py
-@@ -32
1,7 +321,7 @@ print(len(_threading._active))
+@@ -32
7,7 +327,7 @@
self.assertEqual(len(lines), 4, "\n".join(lines))
assert lines[0].startswith('<Thread'), lines[0]
self.assertEqual(len(lines), 4, "\n".join(lines))
assert lines[0].startswith('<Thread'), lines[0]
- self.assertEqual(lines[1], "1", lines[1])
--
self.assertEqual(lines[2], "1", lines[2])
-+ #
self.assertEqual(lines[2], "1", lines[2])
+ assert lines[1] == '1', lines
+-
assert lines[2] == '1', lines
++ #
assert lines[2] == '1', lines
def test_threading(self):
new_mod = """import eventlet
def test_threading(self):
new_mod = """import eventlet
-@@ -35
2,7 +352,7 @@ print(len(threading._active))
+@@ -35
8,7 +358,7 @@
"""
self.write_to_tempfile("newmod", new_mod)
output, lines = self.launch_subprocess('newmod')
"""
self.write_to_tempfile("newmod", new_mod)
output, lines = self.launch_subprocess('newmod')