From 7c110eeef4b94b2db4ea4f99c62c18bbd7b531d9 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Mon, 17 Jan 2022 19:34:46 +0100 Subject: [PATCH] Remove Windows workarounds from tests/utils/test_json.py (#64311) --- tests/util/test_json.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/util/test_json.py b/tests/util/test_json.py index 752e93b39cd..d8851868719 100644 --- a/tests/util/test_json.py +++ b/tests/util/test_json.py @@ -4,9 +4,7 @@ from functools import partial from json import JSONEncoder, dumps import math import os -import sys from tempfile import mkdtemp -import unittest from unittest.mock import Mock import pytest @@ -53,10 +51,6 @@ def test_save_and_load(): assert data == TEST_JSON_A -# Skipped on Windows -@unittest.skipIf( - sys.platform.startswith("win"), "private permissions not supported on Windows" -) def test_save_and_load_private(): """Test we can load private files and that they are protected.""" fname = _path_for("test2")