diff options
author | 2021-03-09 03:22:01 -0700 | |
---|---|---|
committer | 2021-03-09 03:22:01 -0700 | |
commit | a07cf18a52d91c7fd49babab11dbee65dea25689 (patch) | |
tree | 1c3c8c97f506ff807edf6336102c51542f91cfce /tests | |
parent | dist.distutils_extensions: prepend built package directory to PYTHONPATH (diff) | |
download | snakeoil-a07cf18a52d91c7fd49babab11dbee65dea25689.tar.gz snakeoil-a07cf18a52d91c7fd49babab11dbee65dea25689.tar.bz2 snakeoil-a07cf18a52d91c7fd49babab11dbee65dea25689.zip |
mappings: OrderedFrozenSet: support slice notation
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_mappings.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_mappings.py b/tests/test_mappings.py index 1692ac7b..ca9cede1 100644 --- a/tests/test_mappings.py +++ b/tests/test_mappings.py @@ -299,6 +299,7 @@ class TestOrderedFrozenSet: # test indexing support for i in range(9): assert s[i] == i + assert list(s[1:]) == list(range(1, 9)) with pytest.raises(IndexError, match='index out of range'): s[9] |