Skip to content

Commit a1dc098

Browse files
committed
refresh d/p/0001-import-unvendorized-decorator.patch
1 parent d3e1e1c commit a1dc098

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

debian/patches/0001-import-unvendorized-decorator.patch

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,15 @@ Index: python3-prometheus-client/tests/test_core.py
2222
===================================================================
2323
--- python3-prometheus-client.orig/tests/test_core.py
2424
+++ python3-prometheus-client/tests/test_core.py
25-
@@ -12,9 +12,16 @@ from prometheus_client.core import (
25+
@@ -12,12 +12,19 @@ from prometheus_client.core import (
2626
HistogramMetricFamily, Info, InfoMetricFamily, Metric, Sample,
2727
StateSetMetricFamily, Summary, SummaryMetricFamily, UntypedMetricFamily,
2828
)
2929
-from prometheus_client.decorator import getargspec
3030
from prometheus_client.metrics import _get_use_created
31+
from prometheus_client.validation import (
32+
disable_legacy_validation, enable_legacy_validation,
33+
)
3134

3235
+from inspect import getfullargspec
3336
+

0 commit comments

Comments
 (0)