summaryrefslogtreecommitdiff
path: root/pkg_resources
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-08-17 20:39:03 -0400
committerGitHub <noreply@github.com>2016-08-17 20:39:03 -0400
commit053f0ab9b9bd66ddb3329c9579567659c531d1c5 (patch)
tree6dfde2ee24f71658d809604c87bdc6bc4134c72c /pkg_resources
parent664421ec6a5d173c02b1c170cba481cec4aac1f9 (diff)
parentbbfaa7817d92bc2e04e4b4fa89d2b9a783f053cd (diff)
downloadpython-setuptools-git-053f0ab9b9bd66ddb3329c9579567659c531d1c5.tar.gz
Merge pull request #744 from stepshal/comparison
Fix comparison with None.
Diffstat (limited to 'pkg_resources')
-rw-r--r--pkg_resources/tests/test_resources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg_resources/tests/test_resources.py b/pkg_resources/tests/test_resources.py
index b2a9e353..4e7652e3 100644
--- a/pkg_resources/tests/test_resources.py
+++ b/pkg_resources/tests/test_resources.py
@@ -103,7 +103,7 @@ class TestDistro:
d = Distribution("/some/path")
assert d.py_version == sys.version[:3]
- assert d.platform == None
+ assert d.platform is None
def testDistroParse(self):
d = dist_from_fn("FooPkg-1.3.post1-py2.4-win32.egg")