Commit 0d868b5 1 parent d573b98 commit 0d868b5 Copy full SHA for 0d868b5
File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 1
1
import sys
2
2
import unittest
3
+ import pytest
3
4
4
5
from pyramid .util import bytes_ , text_
5
6
@@ -65,6 +66,10 @@ def worker(obj):
65
66
self .assertEqual (2 , foo .x )
66
67
self .assertEqual (1 , foo .y )
67
68
69
+ @pytest .mark .skipif (
70
+ sys .version_info > (3 , 13 ),
71
+ reason = "Python 3.13 assigns a __name__ to an inner function" ,
72
+ )
68
73
def test_property_without_name (self ):
69
74
def worker (obj ): # pragma: no cover
70
75
pass
@@ -270,6 +275,10 @@ def worker(obj):
270
275
self .assertEqual (2 , foo .x )
271
276
self .assertEqual (1 , foo .y )
272
277
278
+ @pytest .mark .skipif (
279
+ sys .version_info > (3 , 13 ),
280
+ reason = "Python 3.13 assigns a __name__ to an inner function" ,
281
+ )
273
282
def test_property_without_name (self ):
274
283
def worker (obj ): # pragma: no cover
275
284
pass
You can’t perform that action at this time.
0 commit comments