Skip to content

Commit

Permalink
Define a function that pytest-retry wants to call.
Browse files Browse the repository at this point in the history
(Looks like messy duck typing expecting the wrong type of object...)
  • Loading branch information
ScottTodd committed Mar 8, 2024
1 parent a634d2c commit e9c408c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions iree_tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ def reportinfo(self):
display_name = f"{self.path.parent.name}::{self.name}"
return self.path, 0, f"IREE compile and run: {display_name}"

# Defining this for pytest-retry to avoid an AttributeError.
def _initrequest(self):
pass


class IreeCompileException(Exception):
"""Compiler exception that preserves the command line and error output."""
Expand Down

0 comments on commit e9c408c

Please sign in to comment.