Skip to content

Commit e5e2826

Browse files
format
1 parent 720e018 commit e5e2826

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

exporter/opentelemetry-exporter-prometheus-remote-write/tests/test_prometheus_remote_write_exporter.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ def test_parse_metric(metric, prom_rw):
122122
"bool_value": True,
123123
}
124124

125-
assert len(metric.data.data_points) == 1, (
126-
"We can only support a single datapoint in tests"
127-
)
125+
assert (
126+
len(metric.data.data_points) == 1
127+
), "We can only support a single datapoint in tests"
128128
series = prom_rw._parse_metric(metric, tuple(attributes.items()))
129129
timestamp = metric.data.data_points[0].time_unix_nano // 1_000_000
130130
for single_series in series:

0 commit comments

Comments
 (0)