aboutsummaryrefslogtreecommitdiffstats
path: root/pkg_resources/tests/test_resources.py
diff options
context:
space:
mode:
authorinsiv <nessento@openmailbox.org>2016-08-17 22:51:31 +0700
committerinsiv <nessento@openmailbox.org>2016-08-17 22:51:31 +0700
commitbbfaa7817d92bc2e04e4b4fa89d2b9a783f053cd (patch)
tree68721d49fc0016529147c3fef5426521bbe9e68c /pkg_resources/tests/test_resources.py
parent0addcafeb1c80ba1ffc57756ffe7e3f0210cee1f (diff)
downloadexternal_python_setuptools-bbfaa7817d92bc2e04e4b4fa89d2b9a783f053cd.tar.gz
external_python_setuptools-bbfaa7817d92bc2e04e4b4fa89d2b9a783f053cd.tar.bz2
external_python_setuptools-bbfaa7817d92bc2e04e4b4fa89d2b9a783f053cd.zip
Fix comparison with None.
Diffstat (limited to 'pkg_resources/tests/test_resources.py')
-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 e0dbb652..963308b2 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")