From 6462553bb268f45096b9e7fd3b3d94faac274967 Mon Sep 17 00:00:00 2001 From: Eleftherios Zisis Date: Fri, 5 Apr 2024 10:51:11 +0200 Subject: [PATCH] Fix pytest-cov for py311 & py312 --- tests/apps/__init__.py | 0 tests/check/__init__.py | 0 tests/core/__init__.py | 0 tests/geom/__init__.py | 0 tests/io/__init__.py | 0 tests/view/__init__.py | 0 tox.ini | 5 +++-- 7 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 tests/apps/__init__.py create mode 100644 tests/check/__init__.py create mode 100644 tests/core/__init__.py create mode 100644 tests/geom/__init__.py create mode 100644 tests/io/__init__.py create mode 100644 tests/view/__init__.py diff --git a/tests/apps/__init__.py b/tests/apps/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/check/__init__.py b/tests/check/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/core/__init__.py b/tests/core/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/geom/__init__.py b/tests/geom/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/io/__init__.py b/tests/io/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/view/__init__.py b/tests/view/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tox.ini b/tox.ini index 76aebdba9..34b0b3305 100644 --- a/tox.ini +++ b/tox.ini @@ -16,9 +16,10 @@ envlist = deps = {[base]testdeps} pytest-cov + coverage[toml]>=6.3 extras = plotly -commands = pytest \ - --cov={envsitepackagesdir}/{[base]name} \ +commands = python -m pytest \ + --cov={[base]name} \ --cov-report term-missing \ --cov-fail-under=100 \ --cov-report=xml \