Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
satella
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
public
satella
Commits
38d0bf6e
Commit
38d0bf6e
authored
3 years ago
by
Piotr Maślanka
Browse files
Options
Downloads
Patches
Plain Diff
Fix unit tests
parent
3d4e30aa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/test_coding/test_resources.py
+5
-0
5 additions, 0 deletions
tests/test_coding/test_resources.py
tests/test_coding/test_rethrow.py
+0
-1
0 additions, 1 deletion
tests/test_coding/test_rethrow.py
with
5 additions
and
1 deletion
tests/test_coding/test_resources.py
+
5
−
0
View file @
38d0bf6e
...
@@ -35,3 +35,8 @@ class TestResources(unittest.TestCase):
...
@@ -35,3 +35,8 @@ class TestResources(unittest.TestCase):
ret
=
do_call
()
# type: Future
ret
=
do_call
()
# type: Future
cp
.
release_connection
(
conns
.
pop
())
cp
.
release_connection
(
conns
.
pop
())
ret
.
result
(
timeout
=
5
)
ret
.
result
(
timeout
=
5
)
while
conns
:
cp
.
release_connection
(
conns
.
pop
())
del
cp
This diff is collapsed.
Click to expand it.
tests/test_coding/test_rethrow.py
+
0
−
1
View file @
38d0bf6e
...
@@ -66,7 +66,6 @@ class TestStuff(unittest.TestCase):
...
@@ -66,7 +66,6 @@ class TestStuff(unittest.TestCase):
else
:
else
:
self
.
fail
(
'
KeyError not raised
'
)
self
.
fail
(
'
KeyError not raised
'
)
@unittest.skipIf
(
sys
.
implementation
.
name
==
'
cpython
'
,
'
Running on CPython
'
)
def
test_log_exceptions
(
self
):
def
test_log_exceptions
(
self
):
a
=
5
a
=
5
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment