IMTEK-Simulation / NuMPI

Utilities for MPI-parallel numerical calculations with Python
MIT License
2 stars 1 forks source link

switch testing environment to run-tests #8

Closed sannant closed 5 years ago

sannant commented 5 years ago

Little trick for moving from unittest to pytest:

search and replace with regex :

Search: self.assertEqual[(](.*),(.*)[)]

Replace: assert $1 == $2