diff --git a/badges/test_coverage.svg b/badges/test_coverage.svg index 636889bb0dd44e670b01f12609116f86ab4a8362..0cbe944de00ae5093ce749ace546d3a8ece7b0a4 100644 --- a/badges/test_coverage.svg +++ b/badges/test_coverage.svg @@ -15,7 +15,7 @@ <g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"> <text x="31.5" y="15" fill="#010101" fill-opacity=".3">coverage</text> <text x="31.5" y="14">coverage</text> - <text x="80" y="15" fill="#010101" fill-opacity=".3">44%</text> - <text x="80" y="14">44%</text> + <text x="80" y="15" fill="#010101" fill-opacity=".3">45%</text> + <text x="80" y="14">45%</text> </g> </svg> diff --git a/binarycpython/tests/test_grid.py b/binarycpython/tests/test_grid.py index 6d2469bbca2d31e816230f4f9bd2fdfd884284be..a3bee3a6b4e32b95c966ebe66c91e067615edcb4 100644 --- a/binarycpython/tests/test_grid.py +++ b/binarycpython/tests/test_grid.py @@ -26,6 +26,7 @@ TODO: Before running the non-unit tests to cover functions like evolve, we need import os import sys +import json import unittest from binarycpython.utils.functions import ( diff --git a/binarycpython/utils/population_extensions/_dataIO.py b/binarycpython/utils/population_extensions/_dataIO.py index ff19dbba53c3df8616fbf69461885bfdc486cac8..9e28d1ff7df4d445f07366696156ec7de23f7182 100644 --- a/binarycpython/utils/population_extensions/_dataIO.py +++ b/binarycpython/utils/population_extensions/_dataIO.py @@ -666,7 +666,9 @@ class dataIO: def NFS_flush_hack(self, filename): """ Use opendir()/closedir() to flush NFS access to a file. - Note: this may or may not work! + NOTE: this may or may not work! + + TODO: This function leads to a complaint about unclosed scandir operators. Check if that can be resolved. """ os.sync() dirname = os.path.dirname(filename) diff --git a/development_requirements.txt b/development_requirements.txt index 4f93d477aed1b6d0d997d745f0c2334e77ea70bf..a751ebdbae6631470fa7f5d0918cf675aa5d00c5 100644 --- a/development_requirements.txt +++ b/development_requirements.txt @@ -4,3 +4,6 @@ sphinx sphinx_autodoc_typehints nbsphinx twine +docstr-coverage +coverage +coverage-badge