mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-01 03:12:49 +08:00
test order fix
Summary: A dummy value in test_opengl_utils seems to be able to break tests in test_mesh_renderer_opengl{,_to}. Reviewed By: kjchalup Differential Revision: D39173275 fbshipit-source-id: 83b15159f70135ea575d5085c7b6b37badd6e49e
This commit is contained in:
parent
95771985b7
commit
9a1213e0e5
@ -322,6 +322,10 @@ class TestOpenGLMultiThreaded(TestCaseMixin, unittest.TestCase):
|
||||
|
||||
|
||||
class TestOpenGLUtils(TestCaseMixin, unittest.TestCase):
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
global_device_context_store.set_context_data(torch.device("cuda:0"), None)
|
||||
|
||||
def test_device_context_store(self):
|
||||
# Most of DCS's functionality is tested in the tests above, test the remainder.
|
||||
device = torch.device("cuda:0")
|
||||
|
Loading…
x
Reference in New Issue
Block a user