Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
python-spectrometer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
QuTech
python-spectrometer
Merge requests
!75
Explicitly close figures to avoid racking up memory
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Explicitly close figures to avoid racking up memory
enh/close_figures_in_tests
into
main
Overview
0
Commits
1
Pipelines
2
Changes
2
Merged
Tobias Hangleiter
requested to merge
enh/close_figures_in_tests
into
main
1 month ago
Overview
0
Commits
1
Pipelines
2
Changes
2
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
2cc563b2
1 commit,
1 month ago
2 files
+
34
−
29
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
tests/test_live_view.py
+
2
−
0
View file @ 2cc563b2
Edit in single-file editor
Open in Web IDE
Show full file
@@ -134,6 +134,8 @@ def started(spectrometer, plot_timetrace, in_process, in_gitlab_ci):
for
view
in
views
:
view
.
process
.
terminate
()
plt
.
close
(
spectrometer
.
fig
)
@pytest.fixture
def
stopped
(
started
:
list
[
LiveViewT
],
in_process
:
bool
):
Loading