🔥 Exterminate `__builtin__` import from tests (#82569)

This patch removes an import fallback that was only executed under
Python 2. Now that we don't run tests against that runtime, it
generates an uncovered line. Dropping it will slightly increase the
coverage metric as a side effect.
pull/82571/head
Sviatoslav Sydorenko (Святослав Сидоренко) 4 months ago committed by GitHub
parent 6935c8e303
commit a3e5546e43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -5,16 +5,12 @@
from __future__ import annotations
import builtins
import errno
import os
from itertools import product
try:
import builtins
except ImportError:
import __builtin__ as builtins
import pytest

Loading…
Cancel
Save