File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 11import sys
22import unittest
3+ import pytest
34
45from pyramid .util import bytes_ , text_
56
@@ -65,6 +66,10 @@ def worker(obj):
6566 self .assertEqual (2 , foo .x )
6667 self .assertEqual (1 , foo .y )
6768
69+ @pytest .mark .skipif (
70+ sys .version_info > (3 , 13 ),
71+ reason = "Python 3.13 assigns a __name__ to an inner function" ,
72+ )
6873 def test_property_without_name (self ):
6974 def worker (obj ): # pragma: no cover
7075 pass
@@ -270,6 +275,10 @@ def worker(obj):
270275 self .assertEqual (2 , foo .x )
271276 self .assertEqual (1 , foo .y )
272277
278+ @pytest .mark .skipif (
279+ sys .version_info > (3 , 13 ),
280+ reason = "Python 3.13 assigns a __name__ to an inner function" ,
281+ )
273282 def test_property_without_name (self ):
274283 def worker (obj ): # pragma: no cover
275284 pass
You can’t perform that action at this time.
0 commit comments