forked from Rust-related/RustPython
2
Lib/test/test_unpack.py
vendored
2
Lib/test/test_unpack.py
vendored
@@ -162,7 +162,7 @@ class TestCornerCases(unittest.TestCase):
|
||||
ns = {}
|
||||
exec(code, ns)
|
||||
unpack_400 = ns["unpack_400"]
|
||||
# Warm up the the function for quickening (PEP 659)
|
||||
# Warm up the function for quickening (PEP 659)
|
||||
for _ in range(30):
|
||||
y = unpack_400(range(400))
|
||||
self.assertEqual(y, 399)
|
||||
|
||||
@@ -101,7 +101,7 @@ Part of the Python standard library that's implemented in Rust. The modules that
|
||||
|
||||
### Lib
|
||||
|
||||
Python side of the standard libary, copied over (with care) from CPython sourcecode.
|
||||
Python side of the standard library, copied over (with care) from CPython sourcecode.
|
||||
|
||||
#### Lib/test
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ Author: Reinhold P. Weicker, CACM Vol 27, No 10, 10/84 pg. 1013.
|
||||
|
||||
Version History:
|
||||
|
||||
Inofficial version 1.1.1 by Chris Arndt:
|
||||
Unofficial version 1.1.1 by Chris Arndt:
|
||||
|
||||
- Make it run under Python 2 and 3 by using
|
||||
"from __future__ import print_function".
|
||||
|
||||
Reference in New Issue
Block a user