gjan
gjan
I was trying to check **set_log_path** module. pytest version: 6.2.2 it seems config.pluginmanager.get_plugin("logging-plugin") gives out **None** def pytest_configure(config): logging_plugin = config.pluginmanager.get_plugin("logging-plugin") logging_plugin.set_log_path(str(dir/ filename)) I get Error as: INTERNALERROR> Traceback (most...
@Keepbright, Issue is coming from: if data_format is not None and data_format.startswith("NC"): expected_input_rank = spatial_dims[-1] else: expected_input_rank = spatial_dims[-1] + 1 try: input_shape.with_rank_at_least(expected_input_rank) except ValueError: **raise ValueError( "input tensor must...
Hi @JosiasAurel, Thanks for replying back on issue. I see that in fn create_test(), you have replaced the line of code which was introducing the import error. If you don't...
So the expectation that the fixture assert should be printed on console, but pytest hijack exception raises in fixture and prints assert of pytest_collection_modifyitems. Which looks fishy
There is usecase that I have to keep the assert in collection modification block to validate the originality of test. But overriding of exception causing quite challenging debug. Can pytest...
Does handing error means it's get printed on console? I don't see collection error getting printed on console
Sorry to reiterate the problem, as I see pytest work in order 1) collection ->2) collection modification Now in above example which I have given, the import error in fixture...
> Hey @jay746, just confirming, but did you file this as a regression? I also tried installing torch 2.0.0, and confirmed that I see the same segfault. So looks like...
Any workaround in top of mind that I can explore?