diff options
author | Benjamin Peterson <benjamin@python.org> | 2013-08-21 22:40:13 -0500 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2013-08-21 22:40:13 -0500 |
commit | 3d46ef4447b31a785d62a5f79fc710a212e0cf67 (patch) | |
tree | ee12a1ed339d1e1c8422d728907d2b1432c7e0f3 | |
parent | 8b07e9e61e0766af5d692e15f65bca896d514f6e (diff) | |
download | six-3d46ef4447b31a785d62a5f79fc710a212e0cf67.tar.gz |
use == instead of is for comparing strings
-rw-r--r-- | test_six.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test_six.py b/test_six.py index 12d3a06..544bf74 100644 --- a/test_six.py +++ b/test_six.py @@ -521,7 +521,7 @@ def test_add_metaclass(): X = six.add_metaclass(Meta)(X) assert type(X) is Meta assert issubclass(X, object) - assert X.__module__ is __name__ + assert X.__module__ == __name__ assert X.__doc__ == "success" class Base(object): pass |