diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-09-02 12:06:32 +0200 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-09-02 12:11:02 +0200 |
| commit | 365c3e8b73eab825a8ecd0cf8046e1a0824ccd45 (patch) | |
| tree | f22f78037da5fa34250851e1dace72c4b2e77e78 /tests/utils_tests/test_simplelazyobject.py | |
| parent | 4292097078279226cb725c2921011fb14634b9af (diff) | |
Replaced "not PY3" by "PY2", new in six 1.4.0.
Diffstat (limited to 'tests/utils_tests/test_simplelazyobject.py')
| -rw-r--r-- | tests/utils_tests/test_simplelazyobject.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/utils_tests/test_simplelazyobject.py b/tests/utils_tests/test_simplelazyobject.py index f16b5e4da1..8dd427e86a 100644 --- a/tests/utils_tests/test_simplelazyobject.py +++ b/tests/utils_tests/test_simplelazyobject.py @@ -181,7 +181,7 @@ class TestUtilsSimpleLazyObject(TestCase): pickled = pickle.dumps(x, 1) pickled = pickle.dumps(x, 2) - if not six.PY3: + if six.PY2: import cPickle # This would fail with "TypeError: expected string or Unicode object, NoneType found". |
