Lines Matching refs:extract
768 def extract(**kwargs): function
776 nolim = extract()
778 self.assertEqual(extract(limit=2), nolim[-2:])
779 assertEqualExcept(extract(limit=100), nolim[-100:], -5-1)
780 self.assertEqual(extract(limit=-2), nolim[:2])
781 assertEqualExcept(extract(limit=-100), nolim[:100], len(nolim)-5-1)
782 self.assertEqual(extract(limit=0), [])
784 assertEqualExcept(extract(), nolim, -5-1)
786 self.assertEqual(extract(), nolim[-2:])
787 self.assertEqual(extract(limit=3), nolim[-3:])
788 self.assertEqual(extract(limit=-3), nolim[:3])
790 self.assertEqual(extract(), [])
792 self.assertEqual(extract(), [])
799 def extract(**kwargs): function
803 nolim = extract()
805 self.assertEqual(extract(limit=2), nolim[:2])
806 self.assertEqual(extract(limit=10), nolim)
807 self.assertEqual(extract(limit=-2), nolim[-2:])
808 self.assertEqual(extract(limit=-10), nolim)
809 self.assertEqual(extract(limit=0), [])
811 self.assertEqual(extract(), nolim)
813 self.assertEqual(extract(), nolim[:2])
814 self.assertEqual(extract(limit=3), nolim[:3])
815 self.assertEqual(extract(limit=-3), nolim[-3:])
817 self.assertEqual(extract(), [])
819 self.assertEqual(extract(), [])
828 def extract(**kwargs): function
832 nolim = extract()
834 self.assertEqual(extract(limit=2), nolim[:2])
835 self.assertEqual(extract(limit=10), nolim)
836 self.assertEqual(extract(limit=-2), nolim[-2:])
837 self.assertEqual(extract(limit=-10), nolim)
838 self.assertEqual(extract(limit=0), [])
840 self.assertEqual(extract(), nolim)
842 self.assertEqual(extract(), nolim[:2])
843 self.assertEqual(extract(limit=3), nolim[:3])
844 self.assertEqual(extract(limit=-3), nolim[-3:])
846 self.assertEqual(extract(), [])
848 self.assertEqual(extract(), [])
881 def extract(): function
883 result = extract()
884 lineno = extract.__code__.co_firstlineno
948 s = traceback.StackSummary.extract(traceback.walk_stack(None))
952 s = traceback.StackSummary.extract(traceback.walk_stack(None), limit=5)
960 s = traceback.StackSummary.extract(iter([(f, 6)]), lookup_lines=True)
968 s = traceback.StackSummary.extract(iter([(f, 6)]), lookup_lines=False)
999 s = traceback.StackSummary.extract(iter([(f, 6)]), capture_locals=True)
1006 s = traceback.StackSummary.extract(iter([(f, 6)]))
1013 return traceback.StackSummary.extract(
1033 expected_stack = traceback.StackSummary.extract(
1050 self.expected_stack = traceback.StackSummary.extract(
1076 expected_stack = traceback.StackSummary.extract(
1097 expected_stack = traceback.StackSummary.extract(
1207 expected_stack = traceback.StackSummary.extract(