Remove Windows workarounds from tests/utils/test_json.py (#64311)

This commit is contained in:
Erik Montnemery 2022-01-17 19:34:46 +01:00 committed by GitHub
parent 08132eb922
commit 7c110eeef4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")