Commit f9fddb04 authored by Stefan Behnel's avatar Stefan Behnel

Add test from #2192.

parent 48efcba4
...@@ -212,3 +212,12 @@ def modptr(): ...@@ -212,3 +212,12 @@ def modptr():
str3 = "eggs" str3 = "eggs"
obj1 = str2 % str3 # '%' operator doesn't work on byte strings in Py3 obj1 = str2 % str3 # '%' operator doesn't work on byte strings in Py3
return obj1 return obj1
def mod_bigint(obj):
"""
>>> mod_bigint(3316000000000)
319
"""
result = obj % 999
return result
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment