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
eaa77e2c
Commit
eaa77e2c
authored
Aug 09, 2001
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added tests for operator.floordiv() and operator.truediv().
parent
428e75fc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
Lib/test/output/test_operator
Lib/test/output/test_operator
+2
-0
Lib/test/test_operator.py
Lib/test/test_operator.py
+2
-0
No files found.
Lib/test/output/test_operator
View file @
eaa77e2c
...
...
@@ -7,6 +7,8 @@ testing: countOf
testing: delitem
testing: delslice
testing: div
testing: floordiv
testing: truediv
testing: getitem
testing: getslice
testing: indexOf
...
...
Lib/test/test_operator.py
View file @
eaa77e2c
...
...
@@ -31,6 +31,8 @@ if a != [0, 1, 8, 9]:
a
=
range
(
10
)
test
(
'div'
,
5
,
2
,
2
)
test
(
'floordiv'
,
5
,
2
,
2
)
test
(
'truediv'
,
5
,
2.5
,
2
)
test
(
'getitem'
,
a
,
2
,
2
)
test
(
'getslice'
,
a
,
[
4
,
5
],
4
,
6
)
test
(
'indexOf'
,
[
4
,
3
,
2
,
1
],
1
,
3
)
...
...
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