diff options
| author | Damien George <damien.p.george@gmail.com> | 2016-03-15 13:20:18 +0000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2016-03-15 13:20:18 +0000 |
| commit | 157056ecdf378898996ba095c3d7bcf625368103 (patch) | |
| tree | 21f508f1ba8ab951b3acb59605d23825778b6dc9 /tests/stress/dict_create.py | |
| parent | ab69ed7dac1bf0ef36238b6289d436e9932180bc (diff) | |
tests: Add new subdir "stress/" specifically for stress tests.
Diffstat (limited to 'tests/stress/dict_create.py')
| -rw-r--r-- | tests/stress/dict_create.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/stress/dict_create.py b/tests/stress/dict_create.py new file mode 100644 index 000000000..e9db40a8e --- /dev/null +++ b/tests/stress/dict_create.py @@ -0,0 +1,8 @@ +# create a large dictionary + +d = {} +x = 1 +while x < 1000: + d[x] = x + x += 1 +print(d[500]) |
