diff options
| author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-03-13 00:13:22 (GMT) |
|---|---|---|
| committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-03-13 00:13:22 (GMT) |
| commit | 17d905449d485c12268ce659f0c2542cd5386e05 (patch) | |
| tree | fae0c10a036300c9ffb034aa834db23a155d49d7 /Lib/test/test_set.py | |
| parent | f1539bd4fc32e757e1f3bf1c7afd334dcc867628 (diff) | |
| download | cpython-17d905449d485c12268ce659f0c2542cd5386e05.zip cpython-17d905449d485c12268ce659f0c2542cd5386e05.tar.gz cpython-17d905449d485c12268ce659f0c2542cd5386e05.tar.bz2 | |
Issue #7818: set().test_c_api() doesn't expect a set('abc'), modify the set.
Diffstat (limited to 'Lib/test/test_set.py')
| -rw-r--r-- | Lib/test/test_set.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_set.py b/Lib/test/test_set.py index 32f2803..808cf27 100644 --- a/Lib/test/test_set.py +++ b/Lib/test/test_set.py @@ -562,7 +562,7 @@ class TestSet(TestJointOps): # C API test only available in a debug build if hasattr(set, "test_c_api"): def test_c_api(self): - self.assertEqual(set('abc').test_c_api(), True) + self.assertEqual(set().test_c_api(), True) class SetSubclass(set): pass |
