GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Running test_dataclasses file directly fails · Issue #104015 · python/cpython Closed Labels 3.12only security fixesonly security fixestestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error DescriptionBug reportRunning [root@codespaces-44977f cpython]# ./python Lib/test/test_dataclasses.py ....................................................................................................................................................................................EEEEEE................................................... ====================================================================== ERROR: test_pickle_support (__main__.TestMakeDataclass.test_pickle_support) (proto=0) ---------------------------------------------------------------------- Traceback (most recent call last): File "/workspaces/cpython/Lib/test/test_dataclasses.py", line 3802, in test_pickle_support pickle.loads(pickle.dumps(klass, proto)), ^^^^^^^^^^^^^^^^^^^^^^^^^^ _pickle.PicklingError: Can't pickle <class 'test.test_dataclasses.ManualModuleMakeDataClass'>: it's not the same object as test.test_dataclasses.ManualModuleMakeDataClass ====================================================================== ERROR: test_pickle_support (__main__.TestMakeDataclass.test_pickle_support) (proto=1) ---------------------------------------------------------------------- Traceback (most recent call last): File "/workspaces/cpython/Lib/test/test_dataclasses.py", line 3802, in test_pickle_support pickle.loads(pickle.dumps(klass, proto)), ^^^^^^^^^^^^^^^^^^^^^^^^^^ _pickle.PicklingError: Can't pickle <class 'test.test_dataclasses.ManualModuleMakeDataClass'>: it's not the same object as test.test_dataclasses.ManualModuleMakeDataClass ====================================================================== ERROR: test_pickle_support (__main__.TestMakeDataclass.test_pickle_support) (proto=2) ---------------------------------------------------------------------- Traceback (most recent call last): File "/workspaces/cpython/Lib/test/test_dataclasses.py", line 3802, in test_pickle_support pickle.loads(pickle.dumps(klass, proto)), ^^^^^^^^^^^^^^^^^^^^^^^^^^ _pickle.PicklingError: Can't pickle <class 'test.test_dataclasses.ManualModuleMakeDataClass'>: it's not the same object as test.test_dataclasses.ManualModuleMakeDataClass ====================================================================== ERROR: test_pickle_support (__main__.TestMakeDataclass.test_pickle_support) (proto=3) ---------------------------------------------------------------------- Traceback (most recent call last): File "/workspaces/cpython/Lib/test/test_dataclasses.py", line 3802, in test_pickle_support pickle.loads(pickle.dumps(klass, proto)), ^^^^^^^^^^^^^^^^^^^^^^^^^^ _pickle.PicklingError: Can't pickle <class 'test.test_dataclasses.ManualModuleMakeDataClass'>: it's not the same object as test.test_dataclasses.ManualModuleMakeDataClass ====================================================================== ERROR: test_pickle_support (__main__.TestMakeDataclass.test_pickle_support) (proto=4) ---------------------------------------------------------------------- Traceback (most recent call last): File "/workspaces/cpython/Lib/test/test_dataclasses.py", line 3802, in test_pickle_support pickle.loads(pickle.dumps(klass, proto)), ^^^^^^^^^^^^^^^^^^^^^^^^^^ _pickle.PicklingError: Can't pickle <class 'test.test_dataclasses.ManualModuleMakeDataClass'>: it's not the same object as test.test_dataclasses.ManualModuleMakeDataClass ====================================================================== ERROR: test_pickle_support (__main__.TestMakeDataclass.test_pickle_support) (proto=5) ---------------------------------------------------------------------- Traceback (most recent call last): File "/workspaces/cpython/Lib/test/test_dataclasses.py", line 3802, in test_pickle_support pickle.loads(pickle.dumps(klass, proto)), ^^^^^^^^^^^^^^^^^^^^^^^^^^ _pickle.PicklingError: Can't pickle <class 'test.test_dataclasses.ManualModuleMakeDataClass'>: it's not the same object as test.test_dataclasses.ManualModuleMakeDataClass ---------------------------------------------------------------------- Ran 232 tests in 0.408s FAILED (errors=6) When running I'm not sure what the cause of the failure is. Your environment
Linked PRsActivity
MetadataMetadataAssigneesLabels3.12only security fixesonly security fixestestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |