summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES.rst4
-rw-r--r--CONTRIBUTORS.txt1
-rw-r--r--tests/test_files.py6
3 files changed, 9 insertions, 2 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index 952a975b..e0b2a41a 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -28,6 +28,9 @@ Unreleased
drive than the current directory. (`pull 1430`_, fixing `issue 1428`_).
Thanks, Lorenzo Micò.
+- Fix path calculations when running in the root directory, as you might do in
+ a Docker container: `pull 1403`_, thanks Arthur Rio.
+
- Filtering in the HTML report wouldn't work when reloading the index page.
This is now fixed (`pull 1413`_). Thanks, Marc Legendre.
@@ -36,6 +39,7 @@ Unreleased
.. _issue 972: https://github.com/nedbat/coveragepy/issues/972
.. _pull 1347: https://github.com/nedbat/coveragepy/pull/1347
+.. _pull 1403: https://github.com/nedbat/coveragepy/issues/1403
.. _pull 1405: https://github.com/nedbat/coveragepy/issues/1405
.. _pull 1413: https://github.com/nedbat/coveragepy/issues/1413
.. _pull 1428: https://github.com/nedbat/coveragepy/issues/1428
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt
index 4c6dfaf1..470dc25f 100644
--- a/CONTRIBUTORS.txt
+++ b/CONTRIBUTORS.txt
@@ -21,6 +21,7 @@ Arcadiy Ivanov
Aron Griffis
Artem Dayneko
Arthur Deygin
+Arthur Rio
Ben Carlsson
Ben Finney
Benjamin Schubert
diff --git a/tests/test_files.py b/tests/test_files.py
index 28a98fb8..9f7f6278 100644
--- a/tests/test_files.py
+++ b/tests/test_files.py
@@ -11,8 +11,10 @@ import pytest
from coverage import env, files
from coverage.exceptions import ConfigError
-from coverage.files import (FnmatchMatcher, ModuleMatcher, PathAliases, TreeMatcher, abs_file,
- actual_path, find_python_files, flat_rootname, fnmatches_to_regex)
+from coverage.files import (
+ FnmatchMatcher, ModuleMatcher, PathAliases, TreeMatcher, abs_file,
+ actual_path, find_python_files, flat_rootname, fnmatches_to_regex,
+)
from tests.coveragetest import CoverageTest