Merge pull request #997 from ZapAnton/objstr_refactor_mul

objstr: Refactored the 'mul' method
This commit is contained in:
coolreader18
2019-05-25 12:11:44 -05:00
committed by GitHub
2 changed files with 12 additions and 15 deletions

View File

@@ -37,6 +37,8 @@ assert 3 * "xy" == "xyxyxy"
assert 0 * "x" == ""
assert -1 * "x" == ""
assert_raises(OverflowError, lambda: 'xy' * 234234234234234234234234234234)
a = 'Hallo'
assert a.lower() == 'hallo'
assert a.upper() == 'HALLO'