Pradyot Ranjan
Pradyot Ranjan
I'm currently working on a project that used `pybtex` for parsing bibtex file, but we want to switch to `bibtexparser`. Pybtex has a plugin to convert to plaintext (UTF-8). Example...
# Description Still a WIP. Since most of the integration tests were failing, they need to be rewritten completely before we can switch to pytest. For now we are using...
# Description Fixes #3524 Now an array of time can be passed to `step` function which will return solutions at that step times. Example: ```py step_solver.step(step_solution, model, non_linear_time=[0, 1000, 1500,...
# Description Follow-up of #3740 Fixes # (issue) ## Type of change Please add a line in the relevant section of [CHANGELOG.md](https://github.com/pybamm-team/PyBaMM/blob/develop/CHANGELOG.md) to document the change (include PR #) -...
**Description** Now that #3857 is merged, we can add support for `xdoctest` for testing doctests. [Xdoctest](https://xdoctest.readthedocs.io/en/latest/) is a pytest equivalent to python's build-in `doctest`. See more : https://github.com/pybamm-team/PyBaMM/issues/3617#issuecomment-1854702640 Related to...
# Description Trying to remove run-tests.py file.
Codacy keeps flagging assert statements from tests. This added rule solves this.
This is a tracking issue to keep track of all the files that have been successfully migrated to pytest. # Integration Tests * [x] ├── test_experiments.py(#4285) ├── `test_models` * [x]...
# Description Reverting back changes from PR #2844. We are using pytest fixtures now to solve this. Once #4180 gets merged, we can merge this as well. Fixes # (issue)...
After merging #4125 , we generate a lot of temporary JSON files while running tests. These files are short-lived and are created and deleted with every test passing, although if...