File: pytest8.4.patch

package info (click to toggle)
python-markdown2 2.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 6,492 kB
  • sloc: python: 6,201; perl: 1,493; php: 865; makefile: 37
file content (21 lines) | stat: -rw-r--r-- 655 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/test/test_markdown2.py
+++ b/test/test_markdown2.py
@@ -555,12 +555,12 @@
 def test_cases():
     """This is called by test.py to build up the test cases."""
     TMTestCase.generate_tests()
-    yield TMTestCase
+    TMTestCase()
     MarkdownTestTestCase.generate_tests()
-    yield MarkdownTestTestCase
+    MarkdownTestTestCase()
     PHPMarkdownTestCase.generate_tests()
-    yield PHPMarkdownTestCase
+    PHPMarkdownTestCase()
     PHPMarkdownExtraTestCase.generate_tests()
-    yield PHPMarkdownExtraTestCase
-    yield DirectTestCase
-    yield DocTestsTestCase
+    PHPMarkdownExtraTestCase()
+    DirectTestCase()
+    DocTestsTestCase()