summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib/test_resource.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_importlib/test_resource.py')
-rw-r--r--Lib/test/test_importlib/test_resource.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/test/test_importlib/test_resource.py b/Lib/test/test_importlib/test_resource.py
index 003f7e9..612bada 100644
--- a/Lib/test/test_importlib/test_resource.py
+++ b/Lib/test/test_importlib/test_resource.py
@@ -5,7 +5,7 @@ import pathlib
from . import data01
from . import zipdata01, zipdata02
-from . import util
+from .resources import util
from importlib import resources, import_module
from test.support import import_helper
from test.support.os_helper import unlink
@@ -33,14 +33,14 @@ class ResourceTests:
# are not germane to this test, so just filter them out.
contents.discard('__pycache__')
self.assertEqual(
- contents,
- {
+ sorted(contents),
+ [
'__init__.py',
- 'subdirectory',
- 'utf-8.file',
'binary.file',
+ 'subdirectory',
'utf-16.file',
- },
+ 'utf-8.file',
+ ],
)