Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
ecca313a
Commit
ecca313a
authored
Feb 21, 2007
by
Brett Cannon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test_mutants for dict views.
parent
67582d2b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
BROKEN
BROKEN
+1
-1
Lib/test/test_mutants.py
Lib/test/test_mutants.py
+1
-1
No files found.
BROKEN
View file @
ecca313a
test_bsddb test_bsddb3 test_compile test_dumbdbm
test_importhooks test_iter test_iterlen test_minidom
test_mutants
test_importhooks test_iter test_iterlen test_minidom
Lib/test/test_mutants.py
View file @
ecca313a
...
...
@@ -116,7 +116,7 @@ def fill_dict(d, candidates, numentries):
for
i
in
xrange
(
numentries
):
d
[
Horrid
(
random
.
choice
(
candidates
))]
=
\
Horrid
(
random
.
choice
(
candidates
))
return
d
.
keys
(
)
return
list
(
d
.
keys
()
)
# Test one pair of randomly generated dicts, each with n entries.
# Note that dict comparison is trivial if they don't have the same number
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment