File: mark_async_test_xfail.patch

package info (click to toggle)
ipyparallel 8.8.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,412 kB
  • sloc: python: 21,991; javascript: 267; makefile: 29; sh: 28
file content (30 lines) | stat: -rw-r--r-- 922 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From: Joseph Nahmias <joe@nahmias.net>
Date: Wed, 30 Oct 2024 15:14:29 +0100
Subject: Mark test_wait_for_send as xfail

Forwarded: not-needed
Last-Update: 2020-09-29
---
 ipyparallel/tests/test_asyncresult.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ipyparallel/tests/test_asyncresult.py b/ipyparallel/tests/test_asyncresult.py
index a9873bc..fa91e98 100644
--- a/ipyparallel/tests/test_asyncresult.py
+++ b/ipyparallel/tests/test_asyncresult.py
@@ -3,6 +3,7 @@
 # Copyright (c) IPython Development Team.
 # Distributed under the terms of the Modified BSD License.
 import os
+import pytest
 import time
 from datetime import datetime
 
@@ -393,6 +394,7 @@ class TestAsyncResult(ClusterTestCase):
         assert 'stdout' in d
         assert 'get' in d
 
+    @pytest.mark.xfail(reason="test isn't deterministic")
     def test_wait_for_send(self):
         view = self.client[-1]
         view.track = True