File: remove-broken-test.patch

package info (click to toggle)
python-crank 0.7.2-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 188 kB
  • sloc: python: 1,353; makefile: 18
file content (16 lines) | stat: -rw-r--r-- 475 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Remove broken test
 Test broken in Python 3.7.
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2019-01-04

--- python-crank-0.7.2.orig/tests/test_util.py
+++ python-crank-0.7.2/tests/test_util.py
@@ -170,7 +170,6 @@ def test_path_str():
     
     instance = MockOb()
     instance.path = '/foo/bar'
-    yield assert_path, instance, """<Path "deque([\'\', \'foo\', \'bar\'])">""", repr
 
 def test_path_unicode():
     class MockOb(object):