Skip to content

Commit

Permalink
Update this test, the previous way of mocking makes this test fail on…
Browse files Browse the repository at this point in the history
… Python 3.11.

PiperOrigin-RevId: 571947232
Change-Id: I125e0733074bb710492065644e4b37571006cb61
  • Loading branch information
yilei authored and copybara-github committed Oct 9, 2023
1 parent dc50409 commit c9deca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dm_control/viewer/gui/base_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
_EPSILON = 1e-7


@mock.patch(base.__name__ + '.time')
@mock.patch.object(base, 'time')
class DoubleClickDetectorTest(absltest.TestCase):

def setUp(self):
Expand Down

0 comments on commit c9deca6

Please sign in to comment.