Skip to content

Commit 99ab6c3

Browse files
authored
fix(tests/profiling): use a string with setenv, not a int (#1321)
1 parent f61eb91 commit 99ab6c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/profiling/test_accuracy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def total_time(time_data, funcname):
7171
@pytest.mark.skipif(TESTING_GEVENT, reason="Test not compatible with gevent")
7272
def test_accuracy(monkeypatch):
7373
# Set this to 100 so we don't sleep too often and mess with the precision.
74-
monkeypatch.setenv("DD_PROFILING_MAX_TIME_USAGE_PCT", 100)
74+
monkeypatch.setenv("DD_PROFILING_MAX_TIME_USAGE_PCT", "100")
7575
p = profiler.Profiler()
7676
p.start()
7777
spend_16()

0 commit comments

Comments
 (0)