Repository navigation
Commit f2ef154
committed
fix(serve): Restore the import that test_import_deprecation_warning exercises
The ruff F401 pass removed
``from sagemaker.serve.serverless.serverless_inference_config import
ServerlessInferenceConfig`` from inside the test because the name is not
used, but that import is the action under test: it is what emits the
DeprecationWarning the assertions look for. Without it the test recorded
zero warnings. Restored with a noqa and a comment saying why it stays.1 parent 367417a commit f2ef154
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
15 | 20 | | |
16 | 21 | | |
17 | 22 | | |
| |||
0 commit comments