Skip to content

Commit 442261d

Browse files
authored
Remove test code that does not exercise anything in pybind11, but breaks between Python 3.12alpha3 (still working) and 3.12alpha6 (broken): (#4559)
``` str(OrderedDict([(1, "a"), (2, "b")])) ``` Old: ``` OrderedDict([(1, 'a'), (2, 'b')]) ``` New: ``` OrderedDict({1: 'a', 2: 'b'}) ``` See also: python/cpython#101446
1 parent cbb876c commit 442261d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/test_modules.py

-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ def test_importing():
6363
from pybind11_tests.modules import OD
6464

6565
assert OD is OrderedDict
66-
assert str(OD([(1, "a"), (2, "b")])) == "OrderedDict([(1, 'a'), (2, 'b')])"
6766

6867

6968
def test_pydoc():

0 commit comments

Comments
 (0)