From 0695aafaea052feca6d965d24ead9cf21620f9ee Mon Sep 17 00:00:00 2001 From: Vincent Moens Date: Thu, 19 Dec 2024 10:20:20 +0000 Subject: [PATCH] [CI] Fix smoke tests ghstack-source-id: d529689fe2b08bed90f55cb2edd0592571619d85 Pull Request resolved: https://github.com/pytorch/tensordict/pull/1147 --- test/smoke_test.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/smoke_test.py b/test/smoke_test.py index cc45dd52c..4f0e89ee4 100644 --- a/test/smoke_test.py +++ b/test/smoke_test.py @@ -2,10 +2,6 @@ # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. -import argparse -import sys - -import pytest def test_imports(): @@ -22,5 +18,4 @@ def test_imports(): if __name__ == "__main__": - args, unknown = argparse.ArgumentParser().parse_known_args() - pytest.main([__file__, "--capture", "no", "--exitfirst"] + unknown) + test_imports()