Move tests in basic/tests/ up one level preparating to multiple test dirs.
This commit is contained in:
8
tests/basics/string-format.py
Normal file
8
tests/basics/string-format.py
Normal file
@@ -0,0 +1,8 @@
|
||||
print("{}-{}".format(1, [4, 5]))
|
||||
print("{0}-{1}".format(1, [4, 5]))
|
||||
print("{:x}".format(1))
|
||||
print("{!r}".format(2))
|
||||
# TODO
|
||||
#print("{1}-{0}".format(1, [4, 5]))
|
||||
#print("{:x}".format(0x10))
|
||||
#print("{!r}".format("foo"))
|
||||
Reference in New Issue
Block a user