File tree 1 file changed +3
-2
lines changed
sdk/monitor/azure-monitor-opentelemetry/tests/instrumentation
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 7
7
import sys
8
8
import unittest
9
9
10
- if sys .implementation .name != "pypy" :
10
+ # Skip for Python v3.13 until https://github.com/psycopg/psycopg2/pull/1729 is resolved
11
+ if sys .implementation .name != "pypy" and sys .version_info < (3 , 13 ):
11
12
from opentelemetry .instrumentation .psycopg2 import (
12
13
Psycopg2Instrumentor ,
13
14
)
14
15
15
16
16
17
class TestPsycopg2Instrumentation (unittest .TestCase ):
17
18
18
- @pytest .mark .skipif (sys .implementation .name == "pypy" , reason = "Psycopg2 not supported for pypy3.9" )
19
+ @pytest .mark .skipif (sys .implementation .name == "pypy" or sys . version_info >= ( 3 , 13 ), reason = "Psycopg2 not supported for pypy3.9 and Py3.13 " )
19
20
def test_instrument (self ):
20
21
try :
21
22
Psycopg2Instrumentor ().instrument ()
You can’t perform that action at this time.
0 commit comments