Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: fea15d4ee1
Fetching contributors…

Cannot retrieve contributors at this time

9 lines (7 sloc) 0.203 kB
import nose.tools as nt
import protocol.tools as tools
def test_set_at_path():
o = [[1,2,3], [4,5,6]]
tools.set_at_path(o, [0,2], 5)
nt.assert_equal(o,
[[1,2,5],[4,5,6]])
Jump to Line
Something went wrong with that request. Please try again.