Fixing testcase for pre python 2.7

master
Michael P. Soulier 2012-09-29 08:12:39 -04:00
parent 83507c60ff
commit 51150aa03a
1 changed files with 1 additions and 1 deletions

View File

@ -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):