summaryrefslogtreecommitdiff
path: root/t/test.py
diff options
context:
space:
mode:
Diffstat (limited to 't/test.py')
-rw-r--r--t/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/test.py b/t/test.py
index 78e7b5f..6ef27f7 100644
--- a/t/test.py
+++ b/t/test.py
@@ -267,7 +267,7 @@ class TestTftpyState(unittest.TestCase):
self.customUploadHelper(lambda p: open(p, "wb"))
def testClientServerUploadCustomOpenForbids(self):
- with self.assertRaisesRegexp(tftpy.TftpException, "Access violation"):
+ with self.assertRaisesRegex(tftpy.TftpException, "Access violation"):
self.customUploadHelper(lambda p: None)
def testClientServerUploadTsize(self):