From 5d572137f474138455b43288e109de12350c52f2 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Wed, 17 Feb 2016 13:19:48 -0800 Subject: [PATCH] improve test error message --- src/wormhole/test/test_scripts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wormhole/test/test_scripts.py b/src/wormhole/test/test_scripts.py index e1473c4..74eb755 100644 --- a/src/wormhole/test/test_scripts.py +++ b/src/wormhole/test/test_scripts.py @@ -234,7 +234,7 @@ class PregeneratedCode(ServerBase, ScriptsBase, unittest.TestCase): self.failUnlessIn("Received files written to %s" % receive_dirname, receive_stdout) fn = os.path.join(receive_dir, receive_dirname) - self.failUnless(os.path.exists(fn)) + self.failUnless(os.path.exists(fn), fn) for i in range(5): fn = os.path.join(receive_dir, receive_dirname, str(i)) with open(fn, "r") as f: