From 51150aa03aece3bfedf38f5f8d49755e9ae97e1e Mon Sep 17 00:00:00 2001 From: "Michael P. Soulier" Date: Sat, 29 Sep 2012 08:12:39 -0400 Subject: [PATCH] Fixing testcase for pre python 2.7 --- t/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/test.py b/t/test.py index e8d0c78..3c5bd47 100644 --- a/t/test.py +++ b/t/test.py @@ -301,7 +301,7 @@ class TestTftpyState(unittest.TestCase): rrq.options = {} # Start the download. - self.assertRaisesRegexp(tftpy.TftpException, "bad file path", + self.assertRaises(tftpy.TftpException, serverstate.start, rrq.encode().buffer) def testServerSecurePath(self):