Skip to content

Commit

Permalink
WIP: get rid of warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Oct 20, 2023
1 parent ff70125 commit e736639
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,13 @@ build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
filterwarnings = [
'error',
'ignore:Creating AiiDA configuration:UserWarning:aiida',
# For some reason we get this error, perhaps because we do
# not unload the AiiDA profile? Let's ignore this for now.
# E pytest.PytestUnraisableExceptionWarning: Exception ignored in: <function Popen.__del__>
# E Traceback (most recent call last):
# E File "/opt/conda/lib/python3.9/subprocess.py", line 1052, in __del__
# E _warn("subprocess %s is still running" % self.pid,
# E ResourceWarning: subprocess 382685 is still running
'ignore:Exception ignored in:pytest.PytestUnraisableExceptionWarning:_pytest',
]
2 changes: 1 addition & 1 deletion src/aiidalab_qe/common/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def _observe_value(self, change):
class CalcJobOutputFollower(traitlets.HasTraits):
calcjob_uuid = traitlets.Unicode(allow_none=True)
filename = traitlets.Unicode(allow_none=True)
output = traitlets.List(trait=traitlets.Unicode)
output = traitlets.List(trait=traitlets.Unicode())
lineno = traitlets.Int()

def __init__(self, **kwargs):
Expand Down

0 comments on commit e736639

Please sign in to comment.