Show More
@@ -109,3 +109,5 b' def test_dollar_formatter():' | |||||
109 | nt.assert_equals(s, "12/hello") |
|
109 | nt.assert_equals(s, "12/hello") | |
110 | s = f.format("$n $$HOME", **ns) |
|
110 | s = f.format("$n $$HOME", **ns) | |
111 | nt.assert_equals(s, "12 $HOME") |
|
111 | nt.assert_equals(s, "12 $HOME") | |
|
112 | s = f.format("${foo}", foo="HOME") | |||
|
113 | nt.assert_equals(s, "$HOME") |
General Comments 0
You need to be logged in to leave comments.
Login now