diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2021-10-24 09:53:53 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-10-24 09:53:53 -0400 |
| commit | 20baf284341555803d800ec4c248fd0f1b5351f1 (patch) | |
| tree | 315429176663e477a732c2fe9c0ad42f63fde0f3 /tests/test_process.py | |
| parent | 4902b6c53740c8e871bb03e69e4345c5cafad96e (diff) | |
| download | python-coveragepy-git-20baf284341555803d800ec4c248fd0f1b5351f1.tar.gz | |
refactor(test): os_sep and remove_tree helpers
Diffstat (limited to 'tests/test_process.py')
| -rw-r--r-- | tests/test_process.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_process.py b/tests/test_process.py index 29ce6071..bf16a2b2 100644 --- a/tests/test_process.py +++ b/tests/test_process.py @@ -23,7 +23,7 @@ from coverage.data import line_counts from coverage.files import abs_file, python_reported_file from tests.coveragetest import CoverageTest, TESTS_DIR -from tests.helpers import change_dir, make_file, nice_file, re_lines, run_command +from tests.helpers import change_dir, make_file, nice_file, os_sep, re_lines, run_command class ProcessTest(CoverageTest): @@ -1378,7 +1378,7 @@ class UnicodeFilePathsTest(CoverageTest): report_expected = ( "Name Stmts Miss Cover\n" + "-----------------------------------\n" + - f"\xe2{os.sep}accented.py 1 0 100%\n" + + os_sep("\xe2/accented.py 1 0 100%\n") + "-----------------------------------\n" + "TOTAL 1 0 100%\n" ) |
