Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ColossalAI
Commits
e88a498c
Commit
e88a498c
authored
Apr 12, 2022
by
FrankLeeeee
Committed by
Frank Lee
Apr 12, 2022
Browse files
[test] removed trivial outdated test
parent
62b4ce73
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
tests/test_config/test_load_config.py
tests/test_config/test_load_config.py
+0
-8
No files found.
tests/test_config/test_load_config.py
View file @
e88a498c
...
@@ -18,11 +18,3 @@ def test_load_config():
...
@@ -18,11 +18,3 @@ def test_load_config():
assert
config
.
train_data
.
dataset
,
'cannot access grandchild attribute'
assert
config
.
train_data
.
dataset
,
'cannot access grandchild attribute'
assert
isinstance
(
config
.
train_data
.
dataset
.
transform_pipeline
[
0
],
dict
),
\
assert
isinstance
(
config
.
train_data
.
dataset
.
transform_pipeline
[
0
],
dict
),
\
f
'expected attribute transform_pipeline elements to be a dict, but found
{
type
(
config
.
train_data
.
dataset
.
transform_pipeline
)
}
'
f
'expected attribute transform_pipeline elements to be a dict, but found
{
type
(
config
.
train_data
.
dataset
.
transform_pipeline
)
}
'
@
pytest
.
mark
.
cpu
def
test_load_ophooks
():
dict
=
{
'type'
:
'MemTracerOpHook'
,
'warmup'
:
10
,
'refreshrate'
:
20
}
ophook
=
build_ophooks
(
dict
)
assert
ophook
.
refreshrate
==
20
assert
ophook
.
warmup
==
10
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment