diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-01-30 15:51:30 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-01-30 15:52:43 -0500 |
| commit | 3d60b4158ee1485f3c5510796bd19042292eedd5 (patch) | |
| tree | 0427c626f505fe6550f2400ab3c5af01c1fdb1bc /test/ext | |
| parent | 5fac520b2a1d168387319548c6674d89928f0067 (diff) | |
| download | sqlalchemy-3d60b4158ee1485f3c5510796bd19042292eedd5.tar.gz | |
Disable set eq test for python < 2.7.8
A test added in 1.2 thought to confirm a Python 2.7 behavior turns out to
be confirming the behavior only as of Python 2.7.8. Python bug #8743 still
impacts set comparison in Python 2.7.7 and earlier, so the test in question
involving AssociationSet no longer runs for these older Python 2.7
versions.
Change-Id: I4e5ab650fdcbfd215535c58438878e98ef924a9b
Fixes: #3265
Diffstat (limited to 'test/ext')
| -rw-r--r-- | test/ext/test_associationproxy.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ext/test_associationproxy.py b/test/ext/test_associationproxy.py index d8fd4dc9d..0052bb188 100644 --- a/test/ext/test_associationproxy.py +++ b/test/ext/test_associationproxy.py @@ -601,8 +601,9 @@ class SetTest(_CollectionOperations): self.assert_((p1.children > other) == (control > other)) self.assert_((p1.children >= other) == (control >= other)) + @testing.requires.python_fixed_issue_8743 def test_set_comparison_empty_to_empty(self): - # test issue #3265 which appears to be python 2.6 specific + # test issue #3265 which was fixed in Python version 2.7.8 Parent = self.Parent p1 = Parent('P1') |
