File: pytest8.4.patch

package info (click to toggle)
python-etcd 0.4.5-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 484 kB
  • sloc: python: 3,040; sh: 14; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 366 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- a/src/etcd/tests/unit/test_old_request.py
+++ b/src/etcd/tests/unit/test_old_request.py
@@ -256,7 +256,7 @@
         )
         for result in range(1, 5):
             result = next(client.eternal_watch('/testkey', index=180))
-            yield self.check_watch, result
+            self.check_watch(result)
 
 
 class TestClientApiExecutor(unittest.TestCase):