Skip to content

Commit 54954c7

Browse files
author
Sean Archer
committed
Small change for a unit test
1 parent 496e351 commit 54954c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit_tests/cli/test_quota_allocation_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def test_validate_memory_limit_within_bounds(self):
292292
def test_validate_memory_limit_missing_values(self):
293293
requests = {}
294294
limits = {"memory": "8Gi"}
295-
with pytest.raises(TypeError, match="expected string or bytes-like object, got 'NoneType'"):
295+
with pytest.raises(TypeError):
296296
_resolve_default_memory_values("ml.g5.xlarge", requests, limits)
297297

298298
def test_validate_memory_limit_invalid_format(self):

0 commit comments

Comments
 (0)