We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2191a3 commit d02b85cCopy full SHA for d02b85c
1 file changed
tests/conftest.py
@@ -1,9 +1,7 @@
1
-import bytecode
2
-
3
4
def pytest_report_header():
5
import importlib.util
6
7
spec = importlib.util.find_spec("bytecode.concrete")
8
- kind = "pure-Python" if (spec and spec.origin and spec.origin.endswith(".py")) else "Cython"
9
- return f"bytecode: {kind} build ({bytecode.__file__})"
+ is_pure = spec and spec.origin and spec.origin.endswith(".py")
+ kind = "pure-Python" if is_pure else "Cython"
+ return f"bytecode: {kind} build"
0 commit comments