diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-04 12:25:38 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-04 12:25:38 -0500 |
| commit | db8efa2a8141205c405cd36f8c8a1aa0b1b7defa (patch) | |
| tree | 543a74f828f9269bf12d87caa1825b26091cf1ad /pkg_resources | |
| parent | fba8ee7abecb12726293438e8af19d7c3fa54bb8 (diff) | |
| download | python-setuptools-git-db8efa2a8141205c405cd36f8c8a1aa0b1b7defa.tar.gz | |
Extract variable
Diffstat (limited to 'pkg_resources')
| -rw-r--r-- | pkg_resources/tests/test_resources.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkg_resources/tests/test_resources.py b/pkg_resources/tests/test_resources.py index 82a987b7..fbb9db62 100644 --- a/pkg_resources/tests/test_resources.py +++ b/pkg_resources/tests/test_resources.py @@ -210,10 +210,8 @@ class TestEntryPoints: assert ep.attrs == ("TestEntryPoints",) assert ep.extras == ("x",) assert ep.load() is TestEntryPoints - assert ( - str(ep) == - "foo = pkg_resources.tests.test_resources:TestEntryPoints [x]" - ) + expect = "foo = pkg_resources.tests.test_resources:TestEntryPoints [x]" + assert str(ep) == expect def setup_method(self, method): self.dist = Distribution.from_filename( |
