File: skip-python2.7-test

package info (click to toggle)
python-mitogen 0.3.26-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 6,456 kB
  • sloc: python: 22,134; sh: 183; makefile: 74; perl: 19; ansic: 18
file content (25 lines) | stat: -rw-r--r-- 861 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
24
25
From: Stefano Rivera <stefanor@debian.org>
Date: Fri, 5 Aug 2022 17:02:10 +0200
Subject: Skip two_three_compat_test, requires python2.7

Debian is removing python2.7 from the archive, skip tests that require
it.

Bug-Debian: https://bugs.debian.org/1016681
Forwarded: no
---
 tests/two_three_compat_test.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/two_three_compat_test.py b/tests/two_three_compat_test.py
index 4a529dc..6d8c7fa 100644
--- a/tests/two_three_compat_test.py
+++ b/tests/two_three_compat_test.py
@@ -19,6 +19,7 @@ class TwoThreeCompatTest(testlib.RouterMixin, testlib.TestCase):
     else:
         python_path = 'python3'
 
+    @testlib.unittest.skip("Requires Python 2.7, no longer available")
     def test_succeeds(self):
         spare = self.router.local()
         target = self.router.local(python_path=self.python_path)