Control: tags 802155 + patch Control: tags 802155 + pending Dear maintainer,
I've prepared an NMU for versiontools (versioned as 1.9.1-1.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Regards.
diff -Nru versiontools-1.9.1/debian/changelog versiontools-1.9.1/debian/changelog --- versiontools-1.9.1/debian/changelog 2014-04-08 12:28:53.000000000 +0100 +++ versiontools-1.9.1/debian/changelog 2015-10-25 11:58:55.000000000 +0000 @@ -1,3 +1,12 @@ +versiontools (1.9.1-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Update not_found test to check for critical elements + within the exception string instead of the entire string. + (Closes: #802155) + + -- Neil Williams <codeh...@debian.org> Sun, 25 Oct 2015 11:58:53 +0000 + versiontools (1.9.1-1) unstable; urgency=medium * Initial version. (Closes: #743921) diff -Nru versiontools-1.9.1/debian/patches/check_contents.diff versiontools-1.9.1/debian/patches/check_contents.diff --- versiontools-1.9.1/debian/patches/check_contents.diff 1970-01-01 01:00:00.000000000 +0100 +++ versiontools-1.9.1/debian/patches/check_contents.diff 2015-10-25 11:57:00.000000000 +0000 @@ -0,0 +1,23 @@ +Description: Check contents of message, not entire string + . + versiontools (1.9.1-1.1) UNRELEASED; urgency=medium + . + * Non-maintainer upload. + * Update not_found test to check for critical elements + within the exception string instead of the entire string. + (Closes: #802155) +Author: Neil Williams <codeh...@debian.org> +Bug-Debian: https://bugs.debian.org/802155 + +--- + +--- versiontools-1.9.1.orig/versiontools/tests.py ++++ versiontools-1.9.1/versiontools/tests.py +@@ -148,6 +148,4 @@ class HandleVersionTests(TestCase): + except Exception: + e = sys.exc_info()[1] + self.assertTrue(isinstance(e, DistutilsSetupError)) +- self.assertEqual(str(e), "Unable to access '__nonexisting__' in " +- "'versiontools': 'module' object has " +- "no attribute '__nonexisting__'") ++ self.assertIn("Unable to access '__nonexisting__'", str(e)) diff -Nru versiontools-1.9.1/debian/patches/series versiontools-1.9.1/debian/patches/series --- versiontools-1.9.1/debian/patches/series 2014-04-08 12:15:45.000000000 +0100 +++ versiontools-1.9.1/debian/patches/series 2015-10-25 11:56:37.000000000 +0000 @@ -1 +1,2 @@ fix-python-3.3-test.patch +check_contents.diff