File: 005_tests-time-independent.patch

package info (click to toggle)
task 2.6.2%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,088 kB
  • sloc: cpp: 45,965; python: 12,713; sh: 785; perl: 189; makefile: 21
file content (23 lines) | stat: -rw-r--r-- 732 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Jakub Wilk <jwilk@debian.org>
Date: Mon, 14 Dec 2020 08:33:08 +0000
Subject: disable checking if copyright information covers the current year

Forwarded: not-needed
Last-Update: 2014-01-05
---
 test/version.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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