File: fix_pytest8.4.patch

package info (click to toggle)
python-py 1.11.0-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,512 kB
  • sloc: python: 11,660; makefile: 119; sh: 7
file content (11 lines) | stat: -rw-r--r-- 394 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- a/testing/code/test_source.py
+++ b/testing/code/test_source.py
@@ -295,7 +295,7 @@
 
         for comp in py.code.compile, py.code.Source.compile:
             for name in '', None, 'my':
-                yield check, comp, name
+                check(comp, name)
 
     def test_offsetless_synerr(self):
         py.test.raises(SyntaxError, py.code.compile, "lambda a,a: 0", mode='eval')