Skip to content

Commit 19641c3

Browse files
committed
Add simpleeval tests for set literals
1 parent f3cf6a6 commit 19641c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bpython/test/test_simpleeval.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ def test_matches_stdlib(self):
2020
"""Should match the stdlib literal_eval if no names or indexing"""
2121
self.assertMatchesStdlib("[1]")
2222
self.assertMatchesStdlib("{(1,): [2,3,{}]}")
23+
self.assertMatchesStdlib("{1, 2}")
2324

2425
def test_indexing(self):
2526
"""Literals can be indexed into"""

0 commit comments

Comments
 (0)