summaryrefslogtreecommitdiff
path: root/test/test_arcs.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_arcs.py')
-rw-r--r--test/test_arcs.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/test_arcs.py b/test/test_arcs.py
index 462ff2fc..00567ac6 100644
--- a/test/test_arcs.py
+++ b/test/test_arcs.py
@@ -394,3 +394,21 @@ class ExceptionArcTest(CoverageTest):
""",
arcz=".1 12 .3 3. 24 45 56 67 7B 89 9B BC C.",
arcz_missing="67 7B", arcz_unpredicted="68")
+
+
+class MiscArcTest(CoverageTest):
+ """Miscellaneous arc-measuring tests."""
+
+ def test_dict_literal(self):
+ self.check_coverage("""\
+ d = {
+ 'a': 2,
+ 'b': 3,
+ 'c': {
+ 'd': 5,
+ 'e': 6,
+ }
+ }
+ assert d
+ """,
+ arcz=".1 19 9.")