Remove Windows workarounds from tests/utils/test_json.py (#64311)
This commit is contained in:
parent
08132eb922
commit
7c110eeef4
1 changed files with 0 additions and 6 deletions
|
@ -4,9 +4,7 @@ from functools import partial
|
||||||
from json import JSONEncoder, dumps
|
from json import JSONEncoder, dumps
|
||||||
import math
|
import math
|
||||||
import os
|
import os
|
||||||
import sys
|
|
||||||
from tempfile import mkdtemp
|
from tempfile import mkdtemp
|
||||||
import unittest
|
|
||||||
from unittest.mock import Mock
|
from unittest.mock import Mock
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
@ -53,10 +51,6 @@ def test_save_and_load():
|
||||||
assert data == TEST_JSON_A
|
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():
|
def test_save_and_load_private():
|
||||||
"""Test we can load private files and that they are protected."""
|
"""Test we can load private files and that they are protected."""
|
||||||
fname = _path_for("test2")
|
fname = _path_for("test2")
|
||||||
|
|
Loading…
Add table
Reference in a new issue