forked from Rust-related/RustPython
Update test_bigmem from cpython 3.11.2
This commit is contained in:
5
Lib/test/test_bigmem.py
vendored
5
Lib/test/test_bigmem.py
vendored
@@ -1281,11 +1281,8 @@ class ListTest(unittest.TestCase):
|
||||
self.assertEqual(l[:10], [1] * 10)
|
||||
self.assertEqual(l[-10:], [5] * 10)
|
||||
|
||||
def test_main():
|
||||
support.run_unittest(StrTest, BytesTest, BytearrayTest,
|
||||
TupleTest, ListTest)
|
||||
|
||||
if __name__ == '__main__':
|
||||
if len(sys.argv) > 1:
|
||||
support.set_memlimit(sys.argv[1])
|
||||
test_main()
|
||||
unittest.main()
|
||||
|
||||
Reference in New Issue
Block a user