File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -934,18 +934,19 @@ async def test_clone(self):
934934 cursor2 = copy .copy (cursor )
935935 cursor2 ._projection ["cursor2" ] = False
936936 self .assertIsNotNone (cursor ._projection )
937- self .assertIn ("cursor2" , cursor ._projection )
937+ print (cursor ._projection .keys ())
938+ self .assertIn ("cursor2" , cursor ._projection .keys ())
938939
939940 # Deepcopies and shouldn't mutate
940941 cursor3 = copy .deepcopy (cursor )
941942 cursor3 ._projection ["cursor3" ] = False
942943 self .assertIsNotNone (cursor ._projection )
943- self .assertNotIn ("cursor3" , cursor ._projection )
944+ self .assertNotIn ("cursor3" , cursor ._projection . keys () )
944945
945946 cursor4 = cursor .clone ()
946947 cursor4 ._projection ["cursor4" ] = False
947948 self .assertIsNotNone (cursor ._projection )
948- self .assertNotIn ("cursor4" , cursor ._projection )
949+ self .assertNotIn ("cursor4" , cursor ._projection . keys () )
949950
950951 # Test memo when deepcopying queries
951952 query = {"hello" : "world" }
Original file line number Diff line number Diff line change @@ -925,18 +925,19 @@ def test_clone(self):
925925 cursor2 = copy .copy (cursor )
926926 cursor2 ._projection ["cursor2" ] = False
927927 self .assertIsNotNone (cursor ._projection )
928- self .assertIn ("cursor2" , cursor ._projection )
928+ print (cursor ._projection .keys ())
929+ self .assertIn ("cursor2" , cursor ._projection .keys ())
929930
930931 # Deepcopies and shouldn't mutate
931932 cursor3 = copy .deepcopy (cursor )
932933 cursor3 ._projection ["cursor3" ] = False
933934 self .assertIsNotNone (cursor ._projection )
934- self .assertNotIn ("cursor3" , cursor ._projection )
935+ self .assertNotIn ("cursor3" , cursor ._projection . keys () )
935936
936937 cursor4 = cursor .clone ()
937938 cursor4 ._projection ["cursor4" ] = False
938939 self .assertIsNotNone (cursor ._projection )
939- self .assertNotIn ("cursor4" , cursor ._projection )
940+ self .assertNotIn ("cursor4" , cursor ._projection . keys () )
940941
941942 # Test memo when deepcopying queries
942943 query = {"hello" : "world" }
You can’t perform that action at this time.
0 commit comments