Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pyrasite
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
pyrasite
Commits
982b64a9
Commit
982b64a9
authored
Jun 19, 2013
by
Luke Macken
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use nose to skip the context manager test on <= py2.5
parent
f45eb5ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
pyrasite/tests/test_ipc.py
pyrasite/tests/test_ipc.py
+3
-1
No files found.
pyrasite/tests/test_ipc.py
View file @
982b64a9
...
...
@@ -18,6 +18,8 @@
import
os
import
sys
from
nose.plugins.skip
import
SkipTest
import
pyrasite
from
pyrasite.tests.utils
import
run_program
,
generate_program
,
stop_program
...
...
@@ -37,7 +39,7 @@ class TestIPCContextManager(object):
info
=
sys
.
version_info
major
,
minor
=
info
[
0
],
info
[
1
]
if
major
<=
2
and
minor
<=
5
:
self
.
s
kipTest
(
"Context Managers not supported on Python<=2.5"
)
raise
S
kipTest
(
"Context Managers not supported on Python<=2.5"
)
# Otherwise import a module which contains modern syntax.
# It really contains our test case, but we have pushed it out into
...
...
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