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
840ac926
Commit
840ac926
authored
Mar 31, 2009
by
R. David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Windows test skip error revealed by buildbot. Also a comment spelling
correction in a previously fixed test.
parent
a08867d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
10 deletions
+5
-10
Lib/test/test_sqlite.py
Lib/test/test_sqlite.py
+1
-1
Lib/test/test_wait4.py
Lib/test/test_wait4.py
+4
-9
No files found.
Lib/test/test_sqlite.py
View file @
840ac926
import
unittest
from
test.test_support
import
run_unittest
,
import_module
#
Skip test of _sqlite3 module not installed
#
Skip test if _sqlite3 module was not built.
import_module
(
'_sqlite3'
)
from
sqlite3.test
import
(
dbapi
,
types
,
userfunctions
,
py25tests
,
...
...
Lib/test/test_wait4.py
View file @
840ac926
...
...
@@ -4,17 +4,12 @@
import
os
import
time
from
test.fork_wait
import
ForkWait
from
test.test_support
import
run_unittest
,
reap_children
from
test.test_support
import
run_unittest
,
reap_children
,
get_attribute
try
:
os
.
fork
except
AttributeError
:
raise
unittest
.
SkipTest
,
"os.fork not defined -- skipping test_wait4"
# If either of these do not exist, skip this test.
get_attribute
(
os
,
'fork'
)
get_attribute
(
os
,
'wait4'
)
try
:
os
.
wait4
except
AttributeError
:
raise
unittest
.
SkipTest
,
"os.wait4 not defined -- skipping test_wait4"
class
Wait4Test
(
ForkWait
):
def
wait_impl
(
self
,
cpid
):
...
...
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