We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6f17c0 commit 5695620Copy full SHA for 5695620
axelrod/tests/unit/test_load_data.py
@@ -18,5 +18,5 @@ def test_axl_filename(self):
18
19
def test_raise_error_if_file_empty(self):
20
path = pathlib.Path("not/a/file.py")
21
- with self.assertRaises(FileNotFoundError):
+ with self.assertRaisesRegex(FileNotFoundError, str(path)):
22
load_file(path, ".")
0 commit comments