Skip to content

Commit f627fcb

Browse files
committed
tests: be less strict about untested members
1 parent 7ad90a2 commit f627fcb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_os/test_os.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -817,8 +817,8 @@ def getmask(name):
817817
members = set(name for name in dir(result)
818818
if name.startswith('stx_'))
819819
tested = set(name for name, mask in requirements)
820-
if members ^ tested:
821-
raise ValueError(f"statx members not tested: {members ^ tested}")
820+
if members - tested:
821+
raise ValueError(f"statx members not tested: {members - tested}")
822822

823823
for name, mask in requirements:
824824
with self.subTest(name=name):

0 commit comments

Comments
 (0)