diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2016-02-19 11:19:54 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-02-19 11:19:54 -0500 |
| commit | e904cf1c44189814ac54a96e90fc513657bb6d47 (patch) | |
| tree | d1330a94e37507f07c8670e31bd8544129f41d01 /pkg_resources/tests/test_resources.py | |
| parent | 95c576ffedcf2312c24a7595a8f2da7f8994afcf (diff) | |
| parent | 54f5299b42541b8f2fc56fb24d2fde6fbd4f7078 (diff) | |
| download | external_python_setuptools-e904cf1c44189814ac54a96e90fc513657bb6d47.tar.gz external_python_setuptools-e904cf1c44189814ac54a96e90fc513657bb6d47.tar.bz2 external_python_setuptools-e904cf1c44189814ac54a96e90fc513657bb6d47.zip | |
Merge pull request series from Steve Kowalik for updated and unified marker implementation. Fixes #122.
Diffstat (limited to 'pkg_resources/tests/test_resources.py')
| -rw-r--r-- | pkg_resources/tests/test_resources.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg_resources/tests/test_resources.py b/pkg_resources/tests/test_resources.py index f2afdf95..7b98ae0d 100644 --- a/pkg_resources/tests/test_resources.py +++ b/pkg_resources/tests/test_resources.py @@ -384,8 +384,8 @@ class TestRequirements: r1 = Requirement.parse("Twisted[foo,bar]>=1.2") r2 = Requirement.parse("Twisted[bar,FOO]>=1.2") assert r1 == r2 - assert r1.extras == ("foo","bar") - assert r2.extras == ("bar","foo") # extras are normalized + assert set(r1.extras) == set(("foo", "bar")) + assert set(r2.extras) == set(("foo", "bar")) assert hash(r1) == hash(r2) assert ( hash(r1) |
