We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7305473 commit 56c0447Copy full SHA for 56c0447
postgres/tests/conftest.py
@@ -36,15 +36,18 @@ def test_ddtrace_version():
36
"""Verify ddtrace version for this test run"""
37
try:
38
import ddtrace
39
+
40
version = ddtrace.__version__
- print(f"\n{'='*60}")
41
+ print(f"\n{'=' * 60}")
42
print(f"DDTRACE VERSION: {version}")
- print(f"{'='*60}\n")
43
+ print(f"{'=' * 60}\n")
44
# Assert the expected version for nubtron/downgrade-ddrace-2
45
expected_version = "3.12.3"
46
assert version == expected_version, f"Expected ddtrace {expected_version}, got {version}"
47
except ImportError:
48
pytest.fail("ddtrace is not installed")
49
50
51
INSTANCE = {
52
'host': HOST,
53
'port': PORT,
0 commit comments