Skip to content

Commit 2488e3f

Browse files
SCANPY-237 Excluded one test when running on Windows.
1 parent 9ba4474 commit 2488e3f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/unit/test_dry_run.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
# along with this program; if not, write to the Free Software Foundation,
1818
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1919
#
20+
import platform
2021
import unittest
2122
from unittest.mock import patch
2223

@@ -236,6 +237,7 @@ def test_validate_report_wrong_root_element(self):
236237
self.assertIn("report", result.warnings[0])
237238
self.assertIn("expected 'coverage'", result.warnings[0])
238239

240+
@unittest.skipIf(platform.system() == "Windows", "Unix permissions not supported on Windows")
239241
def test_validate_report_permission_denied(self):
240242
self.fs.create_dir("/project")
241243
self.fs.create_file("/project/coverage.xml", contents='<?xml version="1.0"?>\n<coverage></coverage>')

0 commit comments

Comments
 (0)