It's ported to Python 3!

This commit is contained in:
Jean-Paul Calderone 2021-09-23 07:41:43 -04:00
parent e5e0d71ef5
commit 5e26f25b37

View File

@ -1,3 +1,18 @@
"""
Tests for ``/statistics?t=openmetrics``.
Ported to Python 3.
"""
from __future__ import print_function
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from future.utils import PY2
if PY2:
from future.builtins import filter, map, zip, ascii, chr, hex, input, next, oct, open, pow, round, super, bytes, dict, list, object, range, str, max, min # noqa: F401
from prometheus_client.openmetrics import parser
from treq.testing import RequestTraversalAgent