Skip to content

Conversation

@hjmjohnson
Copy link
Contributor

Minimize warning information so that important warnings and errors are more easily accessible

warnings identified with

python3  -W ignore::DeprecationWarning -m pytest -k dummy

Fixing warnings like:
cannot collect test class 'TestTimeAugmentation' because it has a init constructor

Use __test__ = False to suppress attempted collection in those non test-classes

Description

A few sentences describing the changes proposed in this pull request.

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Quick tests passed locally by running ./runtests.sh --quick --unittests --disttests.

@hjmjohnson hjmjohnson force-pushed the cleanup-pytest-collection branch from 7040659 to d926f2b Compare July 12, 2024 20:27
Minimize warning information so that important warnings and errors
are more easily accessible

warnings identified with
```bash
python3  -W ignore::DeprecationWarning -m pytest -k dummy
```

Fixing warnings like:
cannot collect test class 'TestTimeAugmentation' because it has a
__init__ constructor

Use `__test__ = False` to supress attempted collection in those
non test-classes

Signed-off-by: Hans Johnson <hans-johnson@uiowa.edu>
@hjmjohnson hjmjohnson force-pushed the cleanup-pytest-collection branch from d926f2b to dd2c8bc Compare July 14, 2024 14:19
@ericspod ericspod enabled auto-merge (squash) July 18, 2024 12:42
@KumoLiu
Copy link
Contributor

KumoLiu commented Jul 24, 2024

/build

@ericspod ericspod merged commit 12d00ce into Project-MONAI:dev Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants