Skip to content

Commit

Permalink
Fix disposal
Browse files Browse the repository at this point in the history
  • Loading branch information
PonteIneptique committed Jan 24, 2024
1 parent f110b4a commit f8a59aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Pyrrha
======

[![Coverage Status](https://coveralls.io/repos/github/hipster-philology/ppyrrha/badge.svg?branch=master)](https://coveralls.io/github/hipster-philology/pyrrha?branch=dev)
[![Build Status](https://travis-ci.org/hipster-philology/pyrrha.svg?branch=master)](https://travis-ci.org/hipster-philology/pyrrha)
[![Test library](https://github.com/hipster-philology/pyrrha/actions/workflows/test.yml/badge.svg)](https://github.com/hipster-philology/pyrrha/actions/workflows/test.yml)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.2325427.svg)](https://doi.org/10.5281/zenodo.2325427)


Expand Down
2 changes: 1 addition & 1 deletion tests/test_selenium/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def tearDown(self):
# https://stackoverflow.com/questions/66876181/how-do-i-close-a-flask-sqlalchemy-connection-that-i-used-in-a-thread/67077811#67077811
if self.db.engine.dialect.name == "postgresql":
db.session.close()
db.get_engine(self.app).dispose()
db.engine.dispose()
self.driver.quit()

def add_n_corpora(self, n_corpus: int, **kwargs):
Expand Down

0 comments on commit f8a59aa

Please sign in to comment.