Skip to content

Commit

Permalink
Skip gurobipy profile lines
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiirola committed Nov 5, 2024
1 parent 7fd605c commit f28d7e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyomo/common/unittest.py
Original file line number Diff line number Diff line change
Expand Up @@ -876,10 +876,11 @@ def filter_fcn(self, line):
# next 6 patterns ignore entries in pstats reports:
'function calls',
'List reduced',
'.py:',
'.py:', # timing/profiling output
' {built-in method',
' {method',
' {pyomo.core.expr.numvalue.as_numeric}',
' {gurobipy.',
):
if field in line:
return True
Expand Down

0 comments on commit f28d7e6

Please sign in to comment.