diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..8b9d61a --- /dev/null +++ b/pytest.ini @@ -0,0 +1,8 @@ +[pytest] +filterwarnings = + ignore:.*getargspec.* is deprecated:DeprecationWarning + ignore:.*setting concentration for .* to 0.0:UserWarning + ignore:Primary class.* Related class .* must have a primary attribute:UserWarning + ignore:.* exchange reactions created .*:UserWarning + ignore:.* minimum and .* maximum default flux bounds set for submodel:UserWarning + ignore:Assuming missing concentrations for the following metabolites .*:UserWarning diff --git a/tests/test_io.py b/tests/test_io.py index 974f3b4..77a142f 100644 --- a/tests/test_io.py +++ b/tests/test_io.py @@ -292,9 +292,6 @@ def test_read_write(self): for i_row, (copy_row, original_row) in enumerate(zip(copy[sheet], original[sheet])): self.assertEqual(copy_row, original_row, msg='Rows {} of {} sheets are not equal'.format(i_row, sheet)) - print(sheet) - print(copy[sheet]) - print(original[sheet]) self.assertEqual(copy[sheet], original[sheet], msg='{} sheets are not equal'.format(sheet)) self.assertEqual(copy, original)