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
dgl
Commits
aed161e6
Unverified
Commit
aed161e6
authored
Mar 16, 2024
by
Andrei Ivanov
Committed by
GitHub
Mar 17, 2024
Browse files
[GraphBolt] Fixing warning in `test_to_pyg_data`. (#7210)
parent
a272efed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/python/pytorch/graphbolt/test_minibatch.py
tests/python/pytorch/graphbolt/test_minibatch.py
+1
-1
No files found.
tests/python/pytorch/graphbolt/test_minibatch.py
View file @
aed161e6
...
@@ -929,7 +929,7 @@ def test_to_pyg_data():
...
@@ -929,7 +929,7 @@ def test_to_pyg_data():
try
:
try
:
pyg_data
=
test_minibatch
.
to_pyg_data
()
pyg_data
=
test_minibatch
.
to_pyg_data
()
assert
(
assert
(
pyg_data
.
x
is
None
,
pyg_data
.
x
is
None
),
"Multiple features case should raise an error."
),
"Multiple features case should raise an error."
except
AssertionError
as
e
:
except
AssertionError
as
e
:
assert
(
assert
(
...
...
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