[rhinstaller/blivet/pulls/155 master] Sort the lists before comparing because coversion to set reverses order in Python3

mulkieran installerbot-noreply at redhat.com
Wed Jun 10 14:51:48 UTC 2015


The only purpose of that line is to check that there are no dups. We can trust, hopefully, that Python set() works. So,

```self.assertEqual(len(packages), len(set(packages)))```

should do the trick. I have no idea why I used ```assertListEqual``` in the first place.
-- 
To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/155


More information about the anaconda-patches mailing list