File: fix_tests_future.patch

package info (click to toggle)
python-ftputil 3.4-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 848 kB
  • sloc: python: 3,308; makefile: 3
file content (18 lines) | stat: -rw-r--r-- 875 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Subject: future date expired
Description: test on file with future date fail because
 was expected to be before year 2020, not the case anymore
Author: Olivier Sallou <osallou@debian.org>
Last-Updated: 2020-03-04
Forwarded: yes
Bug: https://ftputil.sschwarzer.net/trac/ticket/135#ticket
--- a/test/mock_ftplib.py
+++ b/test/mock_ftplib.py
@@ -215,7 +215,7 @@
       "/home": """\
 drwxr-sr-x   2 45854    200           512 May  4  2000 sschwarzer
 -rw-r--r--   1 45854    200          4605 Jan 19  1970 older
--rw-r--r--   1 45854    200          4605 Jan 19  2020 newer
+-rw-r--r--   1 45854    200          4605 Jan 19  2050 newer
 lrwxrwxrwx   1 45854    200            21 Jan 19  2002 link -> sschwarzer/index.html
 lrwxrwxrwx   1 45854    200            15 Jan 19  2002 bad_link -> python/bad_link
 drwxr-sr-x   2 45854    200           512 May  4  2000 dir with spaces