Package: task / 2.5.1+dfsg-3

005_tests-time-independent.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: disable checking if copyright information covers the current year
Author: Jakub Wilk <jwilk@debian.org>
Forwarded: not-needed
Last-Update: 2014-01-05

--- a/test/version.t
+++ b/test/version.t
@@ -55,7 +55,7 @@
         code, out, err = self.t("version")
 
         expected = "Copyright \(C\) \d{4} - %d" % (datetime.now().year,)
-        self.assertRegexpMatches(out, expected)
+        #self.assertRegexpMatches(out, expected)
 
     def slurp(self, file="../CMakeLists.txt"):
         number = "\.".join(["[0-9]+"] * 3)