File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1212
1313from tests .util import assert_is_ppo
1414from tests .util import elementary_test
15- from tomlkit import api , value
15+ from tomlkit import api
1616from tomlkit import parse
1717from tomlkit .exceptions import NonExistentKey
1818from tomlkit .items import Array
@@ -128,6 +128,7 @@ def test_aot_unwrap():
128128 assert_is_ppo (ku , str )
129129 assert_is_ppo (vu , str )
130130
131+
131132def test_aot_set_item ():
132133 d = item (["A" , {"b" : "B" }, ["c" , "D" ]])
133134 d [0 ] = "C"
@@ -136,10 +137,11 @@ def test_aot_set_item():
136137 d [1 ]["b" ] = "D"
137138 assert isinstance (d [1 ], InlineTable )
138139 assert d [1 ]["b" ] == "D"
139- d [0 ] = ["c" , "C" ]
140+ d [0 ] = ["c" , "C" ]
140141 assert isinstance (d [0 ], Array )
141142 assert d [0 ][1 ] == "C"
142143
144+
143145def test_time_unwrap ():
144146 t = time (3 , 8 , 14 )
145147 elementary_test (item (t ), time )
@@ -1030,5 +1032,3 @@ def test_removal_of_arrayitem_with_extra_whitespace():
10301032 docstr = doc .as_string ()
10311033 parse (docstr )
10321034 assert docstr == expected
1033-
1034-
You can’t perform that action at this time.
0 commit comments