From e575a996d865f92802755c466701d37998e9c192 Mon Sep 17 00:00:00 2001 From: Xu Hong Chen <110699064+xhgchen@users.noreply.github.com> Date: Wed, 29 Mar 2023 18:25:18 -0600 Subject: [PATCH] Fix linting issues in `test_distances.py` --- testsuite/MDAnalysisTests/analysis/test_distances.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testsuite/MDAnalysisTests/analysis/test_distances.py b/testsuite/MDAnalysisTests/analysis/test_distances.py index 25631e3e482..e62b24bbce0 100644 --- a/testsuite/MDAnalysisTests/analysis/test_distances.py +++ b/testsuite/MDAnalysisTests/analysis/test_distances.py @@ -346,7 +346,7 @@ def test_ad_pairwise_dist(self, ad_ag1, ad_ag2, '''Ensure that pairwise distances between atoms are correctly calculated without PBCs.''' pairwise_no_pbc = (MDAnalysis.analysis.distances.AtomicDistances - (ad_ag1, ad_ag2, pbc=False).run()) + (ad_ag1, ad_ag2, pbc=False).run()) actual = pairwise_no_pbc.results # compare with expected values from scipy @@ -356,11 +356,11 @@ def test_ad_pairwise_dist(self, ad_ag1, ad_ag2, assert_allclose(actual, expected_dist) def test_ad_pairwise_dist_pbc(self, ad_ag1, ad_ag2, - expected_pbc, expected_pbc_dist): + expected_pbc, expected_pbc_dist): '''Ensure that pairwise distances between atoms are correctly calculated with PBCs.''' pairwise_pbc = (MDAnalysis.analysis.distances.AtomicDistances - (ad_ag1, ad_ag2).run()) + (ad_ag1, ad_ag2).run()) actual = pairwise_pbc.results # compare with expected values from expected_pbc()