X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=tests%2Ftest_parse_changes.py;h=20dab4b9e51dfd0d30656a95ea7355941e205002;hb=1c2f5f4048b36efb345a3aa96b20d60dc7af1990;hp=85a76948d193c5f4a8f4615eb71aa1fdc011236f;hpb=1200a3b671fd1c231a412175054eb47285b5e564;p=dak.git diff --git a/tests/test_parse_changes.py b/tests/test_parse_changes.py index 85a76948..20dab4b9 100755 --- a/tests/test_parse_changes.py +++ b/tests/test_parse_changes.py @@ -20,7 +20,7 @@ class ParseChangesTestCase(DakTestCase): pass except GpgException: pass - except InvalidDscError, actual_line: + except InvalidDscError as actual_line: if line is not None: assertEqual(actual_line, line)