From 57c4e7300a8db3c043117262d76029f9bfa61de8 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Sat, 16 Jan 2010 18:55:37 +0100 Subject: [PATCH] fix bug related to remoteerror/eoferror separation --- testing/test_txnode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/test_txnode.py b/testing/test_txnode.py index 9ac6905..133f051 100644 --- a/testing/test_txnode.py +++ b/testing/test_txnode.py @@ -80,7 +80,7 @@ class TestMasterSlaveConnection: node.send(123) # invalid item kwargs = mysetup.geteventargs("pytest_testnodedown") assert kwargs['node'] is node - assert "Not properly terminated" in str(kwargs['error']) + assert isinstance(kwargs['error'], execnet.RemoteError) def test_crash_killed(self, testdir, mysetup): if not hasattr(py.std.os, 'kill'):