def METHOD_NAME(self):
    """Test the get_versions function filters out yanked versions."""
    project = models.Project(
        name="nltk",
        homepage="https://pypi.org/project/nltk/",
        backend=BACKEND,
    )
    self.session.add(project)
    self.session.commit()
    exp = ["3.7"]
    obs = backend.PypiBackend.get_versions(project)
    self.assertEqual(obs, exp)