Make fixtures in test_distances
use return just the Universe
and not the trajectory as well
#3759
Labels
test_distances
use return just the Universe
and not the trajectory as well
#3759
Is your feature request related to a problem?
Coming from some discussion on #3730 and a comment by @orbeckst: #3730 (comment)
The trajectory fixtures and their naming in
test_distances.py
are slightly confusing as they return the universe and the trajectory.This is confusing and a little bit of an anti-pattern. An example is the following fixture:
Describe the solution you'd like
Move to only returning the
Universe
and have each test call trajectory if required.Describe alternatives you've considered
Leave it the way it is?
The text was updated successfully, but these errors were encountered: